Tuesday, 20 August 2019

Location in Foreground service with Background permission VS in app only permissions Android Q

I am verifying my location service compatibility with Android Q but I am a little unsure how my app is going to react since in my testing I have seen not difference when granting Background permission vs Only while app is running.

Coming off this statement from the Q migration documentation

An app is considered to be in the background unless one of its activities is visible or the app is running a foreground service.

Since the location service is a foreground service does the difference in permission even matter in this case?



from Location in Foreground service with Background permission VS in app only permissions Android Q

No comments:

Post a Comment