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

restart service on device restart, #291

Closed spuday90 closed 3 years ago

spuday90 commented 3 years ago

Added Broadcast receiver to restart service on device boot

spuday90 commented 3 years ago

@adeekshith check if autostart permission is redirecting to exact settings on your device

adeekshith commented 3 years ago

@adeekshith check if autostart permission is redirecting to exact settings on your device

It is not requesting for any permissions. Should I perform any action for it to show up?

adeekshith commented 3 years ago

In this PR, it is not showing Watomatic in the settings while requesting "Notification access". Tested on Android API 30 Emulator

This PR Main
Screenshot_1621919066 Screenshot_1621919123
spuday90 commented 3 years ago

Notification access permission not working on Android 11 (API 30)

for backward compatibility , we should keep enable service method for next few versions.

spuday90 commented 3 years ago

@adeekshith check if autostart permission is redirecting to exact settings on your device

It is not requesting for any permissions. Should I perform any action for it to show up?

Changed it to show popup for existing users on resume of app

adeekshith commented 3 years ago

Did not test behavior for existing users yet but worked well on emulator for new install. Service restarting by itself for new users on device reboot.

adeekshith commented 3 years ago

@adeekshith check if autostart permission is redirecting to exact settings on your device

It is not requesting for any permissions. Should I perform any action for it to show up?

Changed it to show popup for existing users on resume of app

I got the popup on new install too on my real device S10+ after notification permission is granted. Clicking on "Enable Setting" took me to this screen and do not know what to do next as I don't see what I should enable 😀

adeekshith commented 3 years ago

Remaining Todos in this PR:

Rest everything looks 👌