You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes
Fixed an Android crash when marking an in-app message as read after that message was no longer in the native queue.
setReadForMessage logs and returns when the message id is missing, matching the iOS bridge. The Android bridge was passing that missing message into IterableInAppManager.setRead, which threw a NullPointerException and killed the app process.
Fixed the Android module failing to compile against its pinned native Android SDK 3.10.1 in 3.2.0. The bridge now implements onEmbeddedMessagingSyncSucceeded and onEmbeddedMessagingSyncFailed from IterableEmbeddedUpdateHandler as no-ops, matching the native defaults.
Fixed an Android crash in Iterable.inAppManager.showMessage (IllegalStateException: Method addObserver must be called on the main thread), present since 3.2.0.
The bridge now displays the message on the main thread, matching setAutoDisplayPaused and the iOS SDK. It was calling the native in-app displayer on the React Native native-modules thread, which crashes when the current activity is not a FragmentActivity (for example a Jetpack Compose ComponentActivity).
The promise now rejects when the message id is empty or no longer in the native queue instead of crashing with a NullPointerException.
Dismissing a message by tapping outside it now resolves the promise with null instead of crashing on url.toString().
Updates
Documented minimum supported React Native (0.77+) and React (18.3.1+) versions in the README.