Re:Apple cuts off Beeper Mini's access
by oynqr on Saturday December 09, 2023 @02:29AM
(#38579539)
Very possible on Android versions that are closer to AOSP. Shitty vendor forks, probably not.
[ Parent
| on HN ]
Re:Apple cuts off Beeper Mini's access
by charcircuit on Saturday December 09, 2023 @03:53AM
(#38580011)
No, unless the user goes to the settings and disables battery optimization for the app. If the device is idling the app will only be able to wake up periodically. Starting at 15 minutes and exponentially grows to up to 6 hours [0].
[0] https://cs.android.com/android/platform/superproject/+/maste...
> Not really, unless the user goes to the settings and disables battery optimization for the app
That sounds "very possible" to me. Apps can even pop up a dialog on first run instructing the user to disable battery optimization, and then load up that settings page when the user taps a button in the dialog. Certainly some people will be confused by it, still not know what to do, or not want to do it, but it's still quite possible.
And if the user won't do it, the app can still spin up a service with a foreground notification if they really want to keep things working decently well, and use Android's scheduled jobs mechanism to restart the service every 10 minutes (or however often) to catch cases where the service still ends up getting killed.