[Android crash] CannotPostForegroundServiceNotificationException: Bad notification for startForeground #4716
Unanswered
fawaz-ahmed
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, it's an amazing lib you've built and I've been using it since long.
Getting this issue in android, reported in play console. Only happening in Android 15
android.app.RemoteServiceException$CannotPostForegroundServiceNotificationExceptionStack trace:
Exception android.app.RemoteServiceException$CannotPostForegroundServiceNotificationException: Bad notification for startForeground at android.app.ActivityThread.throwRemoteServiceException (ActivityThread.java:2289) at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException (Unknown Source) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2611) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loopOnce (Looper.java:230) at android.os.Looper.loop (Looper.java:319) at android.app.ActivityThread.main (ActivityThread.java:8919) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)I also did some investigation and tumbled upon this thread
Apparently seems the notification channel failed to create and later on it throws error when starting foreground service.
Can someone please look into this ?
Also if you need more information, please ask.
Beta Was this translation helpful? Give feedback.
All reactions