What's Changed
🚀 Features
-
Android: automatic summary notification for grouped pushes.
setNotificationGroupingRule()now accepts an optionalshowSummaryflag. Whentrue, the SDK creates and maintains the collapsed "N new notifications" row natively — no more manualNotificationCompatcode inMainApplication.kt.import { setNotificationGroupingRule } from "reteno-react-native-sdk"; await setNotificationGroupingRule({ groupId: "messages", showSummary: true }); • Creates a dedicated reteno_group_summary notification channel (Android 8.0+) • Posts/updates the summary once at least two notifications share a group • Removes the summary once fewer than two grouped notifications remain • Clears automatically when the grouping rule changes (different payloadKey/groupId) • Requires Android 6.0 (API 23)+ — silently ignored on older devices, grouping still applies • Non-boolean showSummary values now reject the returned promise
This is fully backward compatible — showSummary is optional and defaults to no summary, matching pre-2.3.0 behavior.
🐛 Fixes
• Apps that register a custom NotificationClicked broadcast receiver (overriding Reteno's default) now still get internal click/close events forwarded correctly, so features built on top of them (like the new summary manager) keep working.