Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startForegroundService() not allowed due to mAllowStartForeground false: #3

Open
webwayscript opened this issue Apr 6, 2022 · 1 comment

Comments

@webwayscript
Copy link

Latest api i have this error .. old api working fine

   Unable to start receiver com.android.sample.exoplayer.MainService$RestartServiceBroadcastReceiver: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service com.android.sample.exoplayer/.MainService
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:4335)

compileSdkVersion 32 and Tramisu emulator

@nickmuteti
Copy link

Did you find a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants