yanus171 / Handy-News-Reader

Handy News Reader is a light and modern Android feed reader, based on Flym News Reader
Other
195 stars 21 forks source link

Uncaught Exception: StartNotAllowedException #916

Closed kanehekili closed 10 months ago

kanehekili commented 11 months ago

Describe the bug Exception is thrown when app tries to update as a backend service on Android 12

To Reproduce Steps to reproduce the behavior: Install the app on Android 12 and turn on automatic updates

Expected behavior No exception is expected. An explanation for the problem can be found here: https://stackoverflow.com/questions/70044393/fatal-android-12-exception-startforegroundservice-not-allowed-due-to-mallows

Screenshots None

Smartphone :

Additional context Since API 31 you should use "Worker" instead of "Service", the latter will not be allowed to run in background...

yanus171 commented 11 months ago

Update app version to last beta https://github.com/yanus171/Handy-News-Reader/issues/683#issuecomment-1783793858