Skip to content

[Bug]: Android 12 SIGSEGV (No implementation for ArrivalManagerJni.nativeInitClass) after upgrading to 0.11.0 #513

@ringo-redbit

Description

@ringo-redbit

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

  1. Update @googlemaps/react-native-navigation-sdk at 0.11.0 or 0.12.0
  2. Build and run on Android 12 (API 31)
  3. 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 here

Additional Context

No response

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions