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

Location is available only after opening google maps #40

Open
dorshay6 opened this issue Feb 1, 2019 · 3 comments
Open

Location is available only after opening google maps #40

dorshay6 opened this issue Feb 1, 2019 · 3 comments

Comments

@dorshay6
Copy link

dorshay6 commented Feb 1, 2019

Before opening google maps I get this error:
Location not available. Does your phone have GPS turned on and internet connectivity?

After opening google maps all is good.
https://stackoverflow.com/questions/12646477/gps-on-app-only-works-after-using-google-maps

@MustansirZia
Copy link
Owner

MustansirZia commented Feb 10, 2019

Hi @dorshay6!

Did you try setting an accuracy level of LOW_POWER or any other by using FusedLocation.setLocationPriority and then checking again?

@Khaled-Hb
Copy link

Hi @dorshay6

did you find a solution for this problem ?

@Khaled-Hb
Copy link

Khaled-Hb commented Dec 1, 2022

I solved it with removing :
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> from AndroidManifest.xml
and i just kept <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

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

3 participants