adeekshith / watomatic

Auto reply app helping you move away from less private messengers like WhatsApp and Facebook Messenger
https://watomatic.app
GNU General Public License v3.0
426 stars 85 forks source link

Run foreground service to prevent app being put to sleep #319

Closed spuday90 closed 3 years ago

adeekshith commented 3 years ago
Screen Shot 2021-06-10 at 12 47 42 AM
adeekshith commented 3 years ago
hegocre commented 3 years ago

I would also add an explanation on why they should enable the notification, and maybe even have it enabled by default so that they have the app working non-stop by default.

adeekshith commented 3 years ago

I would also add an explanation on why they should enable the notification

+1

Always-On Notification
Permanently show icon in the notification bar when Watomatic is enabled. Enable this if the app is not working properly in the background

But is the help text too long?

maybe even have it enabled by default so that they have the app working non-stop by default.

Current plan is, it should be Off for everyone by default and if the app detects service is getting killed in the background, it prompts the user to enable it. For this PR, it is OFF for everyone. We can do service killed detection in another iteration.

Also in the future if we can get data regarding what devices or brands are having this issue, we can enable for those brands by default (For now, a few Xiaomi and OnePlus devices seem to have this issue).

hegocre commented 3 years ago

But is the help text too long?

What about

Always-On notification
Display a persistent notification to ensure Watomatic is not killed by the system

It's shorter and I think it'll do.

For this PR, it is OFF for everyone. We can do service killed detection in another iteration.

Sounds good!

adeekshith commented 3 years ago
adeekshith commented 3 years ago

But is the help text too long?

What about

Always-On notification
Display a persistent notification to ensure Watomatic is not killed by the system

It's shorter and I think it'll do.

For this PR, it is OFF for everyone. We can do service killed detection in another iteration.

Sounds good!

wato-settings-319

spuday90 commented 3 years ago
* [ ]  Also, not working when data is cleared (fresh install)

Can you confirm this again @adeekshith