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
app should shutdown with Fatal Exception because the 'permission' for Location has not been approved by user
Error from log:
Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.
at android.os.Parcel.readException(Parcel.java:2004)
at android.os.Parcel.readException(Parcel.java:1950)
at com.google.android.gms.internal.zzed.zzb(Unknown Source:10)
at com.google.android.gms.internal.zzcda.zza(Unknown Source:9)
at com.google.android.gms.internal.zzcdd.zza(Unknown Source:40)
at com.google.android.gms.internal.zzcdj.zza(Unknown Source:5)
at com.google.android.gms.internal.zzccc.zza(Unknown Source:25)
at com.google.android.gms.internal.zzbay.zzb(Unknown Source:0)
at com.google.android.gms.internal.zzbca.zze(Unknown Source:68)
at com.google.android.gms.internal.zzbcx.zze(Unknown Source:5)
at com.google.android.gms.internal.zzbcp.zze(Unknown Source:147)
at com.google.android.gms.internal.zzccb.requestLocationUpdates(Unknown Source:14)
at fr.louisbl.cordova.locationservices.CordovaLocationListener.start(CordovaLocationListener.java:167)
at fr.louisbl.cordova.locationservices.CordovaLocationServices.onConnected(CordovaLocationServices.java:117)
at com.google.android.gms.common.internal.zzac.zzn(Unknown Source:108)
at com.google.android.gms.internal.zzbcp.zzm(Unknown Source:22)
at com.google.android.gms.internal.zzbcd.zzpY(Unknown Source:89)
at com.google.android.gms.internal.zzbcd.onConnected(Unknown Source:21)
at com.google.android.gms.internal.zzbcx.onConnected(Unknown Source:7)
at com.google.android.gms.internal.zzbbi.onConnected(Unknown Source:5)
at com.google.android.gms.common.internal.zzaa.onConnected(Unknown Source:2)
at com.google.android.gms.common.internal.zzn.zzrj(Unknown Source:147)
at com.google.android.gms.common.internal.zze.zzs(Unknown Source:47)
at com.google.android.gms.common.internal.zzi.zzrk(Unknown Source:54)
at com.google.android.gms.common.internal.zzh.handleMessage(Unknown Source:275)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The text was updated successfully, but these errors were encountered:
How to replicate
OS: Android 6.0
Error from log:
Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.
at android.os.Parcel.readException(Parcel.java:2004)
at android.os.Parcel.readException(Parcel.java:1950)
at com.google.android.gms.internal.zzed.zzb(Unknown Source:10)
at com.google.android.gms.internal.zzcda.zza(Unknown Source:9)
at com.google.android.gms.internal.zzcdd.zza(Unknown Source:40)
at com.google.android.gms.internal.zzcdj.zza(Unknown Source:5)
at com.google.android.gms.internal.zzccc.zza(Unknown Source:25)
at com.google.android.gms.internal.zzbay.zzb(Unknown Source:0)
at com.google.android.gms.internal.zzbca.zze(Unknown Source:68)
at com.google.android.gms.internal.zzbcx.zze(Unknown Source:5)
at com.google.android.gms.internal.zzbcp.zze(Unknown Source:147)
at com.google.android.gms.internal.zzccb.requestLocationUpdates(Unknown Source:14)
at fr.louisbl.cordova.locationservices.CordovaLocationListener.start(CordovaLocationListener.java:167)
at fr.louisbl.cordova.locationservices.CordovaLocationServices.onConnected(CordovaLocationServices.java:117)
at com.google.android.gms.common.internal.zzac.zzn(Unknown Source:108)
at com.google.android.gms.internal.zzbcp.zzm(Unknown Source:22)
at com.google.android.gms.internal.zzbcd.zzpY(Unknown Source:89)
at com.google.android.gms.internal.zzbcd.onConnected(Unknown Source:21)
at com.google.android.gms.internal.zzbcx.onConnected(Unknown Source:7)
at com.google.android.gms.internal.zzbbi.onConnected(Unknown Source:5)
at com.google.android.gms.common.internal.zzaa.onConnected(Unknown Source:2)
at com.google.android.gms.common.internal.zzn.zzrj(Unknown Source:147)
at com.google.android.gms.common.internal.zze.zzs(Unknown Source:47)
at com.google.android.gms.common.internal.zzi.zzrk(Unknown Source:54)
at com.google.android.gms.common.internal.zzh.handleMessage(Unknown Source:275)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
The text was updated successfully, but these errors were encountered: