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 Dec 27, 2023. It is now read-only.
I have the following code
AndroidPermissions.check(this)
.permissions(android.Manifest.permission.ACCESS_FINE_LOCATION)
.hasPermissions(permissions -> {
})
.noPermissions(permissions1 -> {
ActivityCompat.requestPermissions(SplashActivity.this
, new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION}
, REQUEST_CODE_ASK_PERMISSIONS);
})
.check();
and
switch (requestCode) {
case REQUEST_CODE_ASK_PERMISSIONS:
// If request is cancelled, the result arrays are empty.
if (grantResults.length > 0
&& grantResults[0] == PackageManager.PERMISSION_GRANTED) {
I have the following code
AndroidPermissions.check(this)
.permissions(android.Manifest.permission.ACCESS_FINE_LOCATION)
.hasPermissions(permissions -> {
})
.noPermissions(permissions1 -> {
ActivityCompat.requestPermissions(SplashActivity.this
, new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION}
, REQUEST_CODE_ASK_PERMISSIONS);
})
.check();
and
switch (requestCode) {
case REQUEST_CODE_ASK_PERMISSIONS:
// If request is cancelled, the result arrays are empty.
if (grantResults.length > 0
&& grantResults[0] == PackageManager.PERMISSION_GRANTED) {
My issue is that it doesn't enable the location on the device and I get lat/lng showing 0.000000. Till i manually turn on location.
Please advise
The text was updated successfully, but these errors were encountered: