Android app losses Battery optimize permisions after crash #511

Open
opened 5 months ago by dan · 0 comments
dan commented 5 months ago
Owner

from user:

I noticed that the switch "Android ignore battery optimization" is always switched of after every reboot of the phone. When the app is correctly shutdown from inside the app and then restarted (without a reboot of the phone) the switch remains on.
Is there a possibility to get it persistent even after a reboot? 

suspicion is that for some reason on crash the permision is being removed

adjust code to check settings each load and check permisions and if mis matched, reask

from user: > I noticed that the switch "Android ignore battery optimization" is always switched of after every reboot of the phone. When the app is correctly shutdown from inside the app and then restarted (without a reboot of the phone) the switch remains on. Is there a possibility to get it persistent even after a reboot?  suspicion is that for some reason on crash the permision is being removed adjust code to check settings each load and check permisions and if mis matched, reask
dan added the
bug
android
labels 5 months ago
dan self-assigned this 5 months ago
dan added this to the Cwtch Beta (In Progress) project 5 months ago
sarah added this to the Fix Android milestone 2 weeks ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#511
Loading…
There is no content yet.