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
421 stars 84 forks source link

Fatal Android 12: Exception: startForegroundService() not allowed due to mAllowStartForeground false #406

Closed Lir10 closed 4 months ago

Lir10 commented 1 year ago

Now that Google Play is require apps to target api level 31 we can't use startForegroundService() from the keepAlive service as it will result in exception due to running a foreground service from the background. See: https://stackoverflow.com/questions/70044393/fatal-android-12-exception-startforegroundservice-not-allowed-due-to-mallows

adeekshith commented 1 year ago

Thank you for reporting this @Lir10. Will plan to work on this once I get some free time. But in case you or other contributors can pick this up, that will be a lot of help. Thank you!

adeekshith commented 1 year ago

Planning to Migrate to API 33