Open shashikiran918 opened 3 months ago
It's happening to me even with all the permissions added
There's an issue with type information of "TypeToken" being lost during the code shrinking process (like ProGuard or R8).
To resolve this, We need to add "-keep" statement for "TypeToken" in "proguard-rules.pro" file.
Add the following in your "proguard-rules.pro" file.
# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
Fatal
Exception: java.lang.RuntimeException Unable to create service yukams.app.background_locator_2.IsolateHolderService: java.lang.SecurityException: Starting FGS with type location callerApp=ProcessRecord{87dfcc9 20206:com.icore.cproll/u0a738} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_LOCATION] any of the permissions allOf=false [android.permission.ACCESS_COARSE_LOCATION, android.permission.ACCESS_FINE_LOCATION] and the app must be in the eligible state/exemptions to access the foreground only permission.AndroidManifest.xml
build.gradle