Environment
- Plugin version: 5.5.0
- Platform: Android
- Expo SDK with newArchEnabled: true (required, since react-native-reanimated and react-native-worklets both fail the build with
assertNewArchitectureEnabledTask if disabled)
- Device: Samsung Galaxy S23+, Android 16
- Dev client build (npx expo run:android)
Issue
Calling BackgroundGeolocation.requestPermission(Permission.Location) hangs indefinitely — the returned promise never resolves nor rejects. No system permission popup ever appears. No error, warning, or log is emitted (with logLevel set to Verbose).
Execution simply stops at this call and never proceeds to .ready().
What I've tried (all with no effect on the hang)
- Installed and confirmed expo-gradle-ext-vars is correctly applied (googlePlayServicesLocationVersion visible in generated android/build.gradle)
- Tried different plugin ordering in app.config.js
- Manually revoked all location permissions via
adb shell pm revoke before testing
- Fully uninstalled the app (
adb uninstall) and rebuilt from scratch
- Temporarily removed the
expo-location plugin entirely to rule out a conflict between the two location SDKs — same hang
- Tested
.ready() with a minimal config (only logger.logLevel) after skipping requestPermission() entirely — .ready() itself also hangs the same way, with no popup and no log output
Config
plugins: [
...
['expo-gradle-ext-vars', { googlePlayServicesLocationVersion: '21.1.0' }],
['react-native-background-geolocation', {}],
],
BackgroundGeolocation.onLocation(...);
await BackgroundGeolocation.requestPermission(Permission.Location); // ← hangs here
await BackgroundGeolocation.ready({ ... });
Question
Is this a known issue with the v5 TurboModule (New Architecture) implementation? Since RN 0.82+ / Expo SDK 55 no longer allow disabling the New Architecture, I can't test against the legacy bridge to confirm.
Environment
assertNewArchitectureEnabledTaskif disabled)Issue
Calling
BackgroundGeolocation.requestPermission(Permission.Location)hangs indefinitely — the returned promise never resolves nor rejects. No system permission popup ever appears. No error, warning, or log is emitted (with logLevel set to Verbose).Execution simply stops at this call and never proceeds to
.ready().What I've tried (all with no effect on the hang)
adb shell pm revokebefore testingadb uninstall) and rebuilt from scratchexpo-locationplugin entirely to rule out a conflict between the two location SDKs — same hang.ready()with a minimal config (onlylogger.logLevel) after skippingrequestPermission()entirely —.ready()itself also hangs the same way, with no popup and no log outputConfig
Question
Is this a known issue with the v5 TurboModule (New Architecture) implementation? Since RN 0.82+ / Expo SDK 55 no longer allow disabling the New Architecture, I can't test against the legacy bridge to confirm.