K
K
korvin22021-11-19 17:29:48
Java
korvin2, 2021-11-19 17:29:48

How to disable battery optimization for android app?

How to prompt the user to disable battery optimization for an app?
I am writing an application where I need to periodically send notifications. But they stop working in the background or when closed. Is it possible to somehow automatically direct the user to the settings so that he turns off the optimization? And most importantly: will there be a ban on Google Play for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2021-11-19
@korvin2

Google JobScheduler and WorkManager

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question