Hacker News new | past | comments | ask | show | jobs | submit login

Maintainer of Red Moon, a screen filter app, here. I've struggled with similar problems as others describe for a long time.

As far as I know, the only truly 100% reliable way to never be killed is to run as an accessibility service. I haven't implemented this in Red Moon but will likely add it as an option. I believe it has a large impact on bettery life.

You can also set alarms using AlarmManager to restart the service if it has been killed, and optionally wake up the device. This is what DNS66 does.




This might have changed since, but in 2017 LastPass had to work with Google to update how they run their app. Google introduced "a new policy restricting the use of Android Accessibility Services" [1]

I'd look into that before starting that implementation.

[1] https://blog.lastpass.com/2017/11/lastpass-android-accessibi...


I have a legitimate accessibility reason for it, to help epileptic users.

https://github.com/LibreShift/red-moon/issues/253#issuecomme...


The restriction only applies to apps on the Play Store, it could continue to be distributed on F-Droid.


I've been a happy user of Red Moon for years, thank you for building it and publishing it on F-Droid!


I love using Red Moon and really appreciate that it's on F-Droid. Thank you!


This is getting out of hand.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: