DEV Community

shaojie gong
shaojie gong

Posted on

A Plant Reminder Is Useless If Android Quietly Stops It: What GrowBook Does About That — Implementation Notes From GrowBook

I wrote this down because the implementation only makes sense after the plant-care problem is clear.

A plant reminder has one job: appear when the plant needs attention. Android can make that surprisingly fragile. Notification permission may be off, exact alarms may be restricted, a reboot clears scheduled alarms, and some phone makers are aggressive about background apps.

What GrowBook does

GrowBook explains why it asks for notification access before showing the system prompt. It checks the relevant settings, saves schedules locally, and rebuilds reminders after a reboot or app update. When the operating system refuses an exact time, the app needs to say so instead of pretending everything is fine.

The boundary I kept

There is still no universal switch that defeats every battery manager on every Android phone. I would rather be clear about that limitation and guide people to the right setting than promise a reminder that may never arrive.

A reminder that admits it needs one more system setting is better than a silent reminder that never appears.

GrowBook on Google Play: https://play.google.com/store/apps/details?id=com.yuntai.growbook

Top comments (0)