You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
@MohamedHamada12
You can simply do this by the following two lines :
LocationManager locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);
if (locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) {
// GPS settings enabled
} else {
// GPS settings not enabled
}
@yehiahd
Yes I know we can check using this way , but it should provided by library
because Lib considered location setting enabled and try get location.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How I can check location setting after user give permission ?
The text was updated successfully, but these errors were encountered: