Mapp Engage RN - 2.0.0
Breaking Changes
- Raised the minimum iOS deployment target from 10.0 to 15.1.
- Exported strict Android compatibility constraints for the supported Expo SDK 57 toolchain and Mapp Engage 7.1.2 runtime ABI.
- Changed Android geofence permission handling, FCM service ownership, and inbox status updates.
- Deprecated engage2(), startGeoFencing(), and stopGeoFencing() in favor of their supported replacements.
- Review the breaking changes, then follow the 1.4.2 to 2.0.0 migration guide for required application changes.
Bug Fixes
- Android: Failed Firebase token registration now rejects with FCM_REGISTRATION_FAILED instead of crashing while reading a failed task result.
- Android: All Mapp engage calls run on the main looper. Background Firebase callbacks wait for a bounded engage attempt and safely return failure after SDK errors, timeout, or interruption.
- Android/Expo: Mapp and custom push ownership now remove the SDK v7 Firebase service and remain idempotent when prebuild runs repeatedly or changes mode.
- Android/Expo: The config plugin now writes required permissions, the Mapp messaging service, and the push receiver through withAndroidManifest; Firebase configuration remains customer-owned through expo.android.googleServicesFile.
- Android: Exported Expo SDK 57 compatibility constraints stabilize WorkManager, Lifecycle, AndroidX Core, Play Services Location, and Kotlin stdlib for API 36/AGP 8.12/Kotlin 2.1.20 builds.
- Android: Coroutines remain aligned at 1.11.0 to preserve the Mapp 7.1.2 native in-app dismissal ABI.
- iOS/Expo: The config plugin now creates and embeds a standalone Notification Service Extension for Mapp rich-push media from ios_apx_media, with EAS app-extension metadata and no App Group or extra Pod.
- iOS/Expo: Verified that Expo SDK 57 CocoaPods autolinking discovers RNMappPlugin.podspec and processes RNMappPlugin under the New Architecture.
Compatibility
- Verified baseline: Expo SDK 57, React Native 0.86, New Architecture, Android API 36, AGP 8.12, Kotlin 2.1.20, and JDK 21.
Full Changelog: v1.4.2...2.0.0