Skip to content

Release 2.3.0

Latest

Choose a tag to compare

@serhiiporaiko-yalantis serhiiporaiko-yalantis released this 11 Aug 19:24
d30477c

v2.3.0

✨ Android

  • setNotificationGroupingRule now accepts showSummary?: boolean. When set to true, the SDK creates and maintains a collapsed "N new notifications" summary row natively — no custom NotificationCompat code required.

    await Reteno.setNotificationGroupingRule({ groupId: 'messages', showSummary: true });

Requires Android 6.0+ (API 23) — no summary is shown below that. Posting the summary also requires POST_NOTIFICATIONS on Android 13+.

🍎 iOS
Fixed SDK initialization in OnCreate to dispatch to the main queue explicitly instead of relying on .runOnQueue(.main), which has moved to initialize.
📚 Docs
Push notifications guide updated for showSummary.
Full Expo docs set synced with docs.reteno.com.
⚠️ Breaking Changes
RetenoNotificationGroupingRuleProvider.resolveGroup(...) is no longer public.

If you implemented a manual summary notification following the previous guide, remove that native code and pass showSummary: true instead — it will not compile otherwise.