Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Geolocation is not working on Android 11 #15

Open
ShooterArk opened this issue Jun 9, 2021 · 5 comments
Open

Background Geolocation is not working on Android 11 #15

ShooterArk opened this issue Jun 9, 2021 · 5 comments

Comments

@ShooterArk
Copy link

Your Environment

  • Plugin version: 0.6.6
  • Platform: Android
  • OS version: 11
  • Device manufacturer and model: Samsung A71
  • Running in Simulator: Yes
  • React Native version: 0.63.3
  • Plugin configuration options:
  • Link to your project:

Context

I have successfully integrate the library and its working on emulator but when I run the application on real device it does not work in the background.

Expected Behavior

Shows LOCATION marker in the Status bar and fetch location.

Actual Behavior

Does not shows LOCATION marker in the status bar.

Possible Fix

Steps to Reproduce

  1. Integrate the library and configure it as mentioned in documentations.
  2. Now run the app on real device. Once the app is running, switch to background.

Context

Background tracking.

Debug logs

@ShooterArk
Copy link
Author

The foreground service is not working on Android 11.

@kofkgoing
Copy link

The foreground service is not working on Android 11.

I guess you have to start service on foreground, before entering background

@zoobibackups
Copy link

Still not working, forground service is running but background location not working

@kofkgoing
Copy link

Still not working, forground service is running but background location not working

Check whether the notification is appeared on notification center

@rafwell
Copy link

rafwell commented Nov 17, 2021

I can confirm that's working fine in Android 11. Try see adb logcat to logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants