Closed chungweileong94 closed 4 years ago
For Android version >= 28, the app will crash when it trying to call startForeground(...). So starting from API 28, we have to create a notification channel, as well as declare the FOREGROUND_SERVICE permission
startForeground(...)
FOREGROUND_SERVICE
Thank you for the fix @chungweileong94 !
For Android version >= 28, the app will crash when it trying to call
startForeground(...)
. So starting from API 28, we have to create a notification channel, as well as declare theFOREGROUND_SERVICE
permission