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

Currently issue is when we open google map & start navigate on that time we can't got location update. #410

Open
shivamIqlance opened this issue Apr 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@shivamIqlance
Copy link

shivamIqlance commented Apr 17, 2023

Environment

Run npx react-native info in your terminal and copy the results here.

Platforms

Only in Android

Versions

Please add the used versions/branches

  • Android: 13
  • iOS: iOS 15.2
  • react-native-geolocation-service: ^5.3.1
  • react-native: 16.13.1
  • react: 16.13.1

Description

Please Fix the compatibility problem with other geolocation services which use the newest version. Application working fine in background mode. But when the driver opens the Google map and starts tracking. Once we start tracking on google map after we can't get the current location , app is not giving us the current location (which is running in the background) so we are unable to track the location.

The application after the new update prevents background location service when the driver is on Google Maps starting tracking.

Expected Results

Need get current location on time when user use google navigation service.

@shivamIqlance shivamIqlance added the bug Something isn't working label Apr 17, 2023
@shivamIqlance shivamIqlance changed the title open Please Fix the compatibility problem with other geolocation services which use the newest version. Currently issue is when we open google map & start navigate on that time we can't got location update. Currently issue is when we open google map & start navigate on that time we can't got location update. Apr 17, 2023
@aqil07
Copy link

aqil07 commented May 21, 2023

@shivamIqlance , could you please provide more details with regard to this bug? For example, which device(s) does this occur on? I have not experienced the issue you have described above or anything of the sort, when using this library in my app. If you could potentially also allow a fork of your project, it can be run locally for the bug to be reproduced and a potential fix applied/suggested.

Thanks
A

@zkteco-home
Copy link

zkteco-home commented Oct 24, 2023

I have same issue

if i dont use react-native-maps,Geolocation.getCurrentPosition works fine,once i use react-native-maps,raise the following error:
image

Android Env
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33

    // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
    ndkVersion = "23.1.7779620"
}

"react": "18.2.0",
"react-native": "0.72.6",
"react-native-maps":"^1.8.0"
"react-native-geolocation-service": "^5.3.1"

@zkteco-home
Copy link

please help me fix it,i tried many times and found bcz of react-native-maps compatible issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants