Johboh / hassalarm

Android app for integration with Hass.io as a sensor for the next scheduled alarm on the device
MIT License
62 stars 6 forks source link

Android app does not auto update unless open. #18

Open Hooolm opened 4 years ago

Hooolm commented 4 years ago

I am not sure how you want to track this on github. I would suggest linking to this in your readme. https://support.google.com/pixelphone/thread/6068458?hl=en (or write your own guide).

My OnePlus 8 Pro kills the background service after a few minutes rendering the app useless unless you grant it "special allowance".

Hooolm commented 4 years ago

Also you need to reopen the app after a reboot it seems.

Johboh commented 4 years ago

@Hooolm I recall fixing the "reopen after reboot", but I will look into it again, thanks for pointing it out. And thanks for the link, will add it to the readme/help!

sikaiser commented 3 years ago

https://dontkillmyapp.com/apidoc is a pretty good resource for this. There's even a library that can be used to display device specific info directly within the app.

The autostart permission is also handled differently on different OSes. There's no one size fits all solution that you can implement as a dev.