_marek Member Licensed User Longtime User Nov 12, 2020 #1 Hello, recently I was asked on Google Play to declare if my app(s) access location in the background: Does your app access location in the background in APKs or app bundles targeting Android 9 (Pie) or older (SDK level 28 or lower)? Learn more No - Your app may be removed from Google Play if it accesses location in the background Yes - You'll need to provide some more details below In my apps I do not work with location at all (do not use neither fused location provider nor GPS), however I work with Bluetooth (scanning for BLE devices) thus I request permissions: FOREGROUND_SERVICE ACCESS_COARSE_LOCATION ACCESS FINE_LOCATION Spoiler: All permissions I am using Firstly I thought that since I do not use permission ACCESS_BACKGROUND_LOCATION I am OK and I can answer the question with NO - I do not use background location. However I came across this example of background location tracking and it does not require ACCESS_BACKGROUND_LOCATION either, yet it tracks location in background (Tracker service). So my question is, whether background location tracking permission is obtained in some of permissions I use / in the example. If so, is this a reason to answer the question with YES - I use background location tracking? Or answer YES only if I work with GPS or FLP in service? Thanks.
Hello, recently I was asked on Google Play to declare if my app(s) access location in the background: Does your app access location in the background in APKs or app bundles targeting Android 9 (Pie) or older (SDK level 28 or lower)? Learn more No - Your app may be removed from Google Play if it accesses location in the background Yes - You'll need to provide some more details below In my apps I do not work with location at all (do not use neither fused location provider nor GPS), however I work with Bluetooth (scanning for BLE devices) thus I request permissions: FOREGROUND_SERVICE ACCESS_COARSE_LOCATION ACCESS FINE_LOCATION Spoiler: All permissions I am using Firstly I thought that since I do not use permission ACCESS_BACKGROUND_LOCATION I am OK and I can answer the question with NO - I do not use background location. However I came across this example of background location tracking and it does not require ACCESS_BACKGROUND_LOCATION either, yet it tracks location in background (Tracker service). So my question is, whether background location tracking permission is obtained in some of permissions I use / in the example. If so, is this a reason to answer the question with YES - I use background location tracking? Or answer YES only if I work with GPS or FLP in service? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2020 #2 Are you searching for BLE devices while the app is in the background? In that case you probably need to answer yes. Upvote 0
Are you searching for BLE devices while the app is in the background? In that case you probably need to answer yes.
_marek Member Licensed User Longtime User Nov 13, 2020 #3 Yes, I do. Scanning goes on (in Starter service) when app is in the background. OK, I will answer with YES. (If this gets disapproved, I will stop scanning when moved to background...) Hopefully then I can answer with NO. Thanks. Upvote 0
Yes, I do. Scanning goes on (in Starter service) when app is in the background. OK, I will answer with YES. (If this gets disapproved, I will stop scanning when moved to background...) Hopefully then I can answer with NO. Thanks.