-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
After upgrading @googlemap/react-native-navigation-sdk from 0.9.3 to 0.11.0 or 0.12.0, the app crashes on Android 12 with a SIGSEGV originating in libart.so; logical reports a JNI error No implementation found for ArrivalManagerJni.nativeInitClass().
Downgrading to 0.10.3 removes the crash.
React Native version
0.81.4
React version
19.1.0
Package version
0.11.0
Native SDK versions
- I haven't changed the version of the native SDKs
React Native Doctor Output
⠹ Running diagnostics...* daemon not running; starting now at tcp:5037
- daemon started successfully
Common
✓ Node.js - Required to execute JavaScript code
✓ npm - Required to install NPM dependencies
✓ Watchman - Used for watching changes in the filesystem when in development mode
✓ Metro - Required for bundling the JavaScript code
Android
✖ Adb - No devices and/or emulators connected. Please create emulator with Android Studio or connect Android device.
✓ JDK - Required to compile Java code
✓ Android Studio - Required for building and installing your app on Android
✓ ANDROID_HOME - Environment variable that points to your Android SDK installation
✓ Gradlew - Build tool required for Android builds
✓ Android SDK - Required for building and installing your app on Android
iOS
✓ Xcode - Required for building and installing your app on iOS
✓ Ruby - Required for installing iOS dependencies
✓ CocoaPods - Required for installing iOS dependencies
✓ .xcode.env - File to customize Xcode environment
Errors: 1
Warnings: 0
Usage
› Press f to try to fix issues.
› Press e to try to fix errors.
› Press w to try to fix warnings.
› Press Enter to exit.
Steps to reproduce
- Update
@googlemaps/react-native-navigation-sdkat0.11.0or0.12.0 - Build and run on Android 12 (API 31)
- Enter the navigation screen to start guidance - crash occurs shortly after
Expected vs Actual Behavior
Expected Behavior: No crash
Actual Behavior: It crashes.
Code Sample
// Example code hereAdditional Context
No response