Our app is a location app that will run in background and report user’s 
locations to server so that his members can track them.
In Android 6, because of the Automatic Battery Optimisation (Doze mode), 
our app couldn’t report user’s location to server because the Data 
Connection was disconnected.
We found out that an app can actually make use of the permission 
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS so that it can be whitelisted for 
battery optimisation without user’s interaction.
However, we are not sure if we are allowed to use that permission because 
there’s no clear definition on what kind of app can use it, and in 
developer forum, we read some developers posting that their apps got 
removed from Play Store because Google thinks their app are not eligible to 
use the permission.

We would like to seek your advise, that how can we make sure we are allowed 
to use this permission?

Thank you very much!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/757aaf82-7681-4fab-9147-1948d867fb04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to