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

GPS is not updating location in IOS,when netWork is offline.android is fine, #120

Closed
ramkiakil opened this issue Sep 14, 2019 · 10 comments
Closed

Comments

@ramkiakil
Copy link

No description provided.

@ramkiakil ramkiakil reopened this Sep 14, 2019
@Shrestha17
Copy link

I am facing same problem in both ios and android. Will you please help me in android?

@ramkey-akil
Copy link

Check the internet state and if the internet state has been changed, remove the event and readd the event

@ramkey-akil
Copy link

If network state is changed, clear the Watch and call the geolocation method again

@Agontuk
Copy link
Owner

Agontuk commented Nov 24, 2019

If it's iOS specific, you should file an issue in https://github.com/react-native-community/react-native-geolocation/issues

@Shrestha17
Copy link

@ramkey-akil still not working..
Error message is {message: "Location settings are not satisfied.", code: 5}

@ramkey-akil
Copy link

@Shrestha17 Please add into AndroidManifest.xml
Permission :: ACCESS_FINE_LOCATION,ACCESS_COURSE_LOCATION,ACCESS , NETWORK_STATE
feature :: android.hardware.location.gps , android.hardware.location.network

@ramkey-akil
Copy link

@Shrestha17 please check this
#108 (comment)

@Shrestha17
Copy link

I was testing on flight mode, just turning wifi off return location. I think flight mode doesnot return location. Thanks for help :)

@ramkey-akil
Copy link

yes bro flight mode does'nt return any location

@Agontuk
Copy link
Owner

Agontuk commented Apr 16, 2020

Closing due to inactivity

@Agontuk Agontuk closed this as completed Apr 16, 2020
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