-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In the foreground, the app works beautifully, but as soon as I make the app go to the background, the location updates don't get triggered at all. Have added ACCESS_BACKGROUND_LOCATION permission in Manifest and I'm requesting ACCESS_BACKGROUND_LOCATION permission on App Launch.
Android Manifest
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
PermissionUtils
fun requestAccessFineLocationPermission(activity: AppCompatActivity, requestId: Int) { ActivityCompat.requestPermissions( activity, arrayOf( Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_BACKGROUND_LOCATION ), requestId ) }
Am i missing anything here ?
Metadata
Metadata
Assignees
Labels
No labels