Skip to content

Release 3.0.0

Latest

Choose a tag to compare

@serhiiporaiko-yalantis serhiiporaiko-yalantis released this 20 Aug 20:39
d91484c

v3.0.0

Highlights

πŸ— React Native New Architecture support

The SDK now ships TurboModule/Fabric-compatible native modules on both iOS and Android.
Old-architecture apps (newArchEnabled=false) keep working unchanged through the existing
bridge. Verified with real builds: New Architecture on iOS and Android, Old Architecture on
Android (not applicable on iOS β€” React Native itself dropped old-architecture pod support as of
0.82).

πŸ“¦ Namespaced API

All methods are now also available grouped by feature area:

import { push, user, events, inApp, inbox, recommendations, ecommerce } from "reteno-react-native-sdk";

await push.registerForRemoteNotifications();
await user.setUserAttributes(...);

Purely additive β€” every existing flat import (initialize, setUserAttributes,
getRecommendations, etc.) keeps working exactly as before. See
docs/NamespacedAPI.

πŸ“š Restructured documentation

Docs are now split per feature (Setup Guide, Push notifications, In-App Messages, App Inbox,
Ecommerce, Recommendations, Tracking, Action Buttons, App Lifecycle Events, Namespaced API)
instead of a few large files, and mirrored to the
reteno-mobile-documentation repo.

Upgrading

  • Requires react-native >= 0.86.2 (bumped from 0.78.0).
  • No JS API changes required β€” flat imports keep working.
  • Re-run pod install in your iOS project after upgrading; the SDK's Firebase dependency
    resolution was corrected to match the @react-native-firebase version your app actually has
    installed.

Fixed

  • markAsOpened now marks every message ID passed, not just the first one, on Android
    (previously Android only accepted a single ID).
  • logScreenView is now a native method on both platforms (previously Android-only path).

Breaking changes

None at the JS API level. If you call the native Android/iOS modules directly, note the
markAsOpened signature change above (single ID β†’ array).

Compatibility

  • New Architecture: βœ… verified (iOS + Android, real builds)
  • Old Architecture: βœ… verified on Android; not applicable on iOS (removed upstream by RN 0.82+)
  • Tests: 54/54 JS tests passing, typecheck and prepack clean

Full Changelog: v2.3.0...v3.0.0