-
Couldn't load subscription status.
- Fork 1k
Open
Description
i'm develope ionic app and there i'm used this plugin.
after opening my app and the app is loaded, i called the function "backgroundmode.enable()". after a short timespan app stopped with the issue:
invalid channel for service notification
after removing the usage of this plugin the app isn't stopped and runs all the time. all fine.
so, i checked this. i have added the plugin usage again and the exception came back. i removed it again, exception is gone
this is the full stacktrace, which is shown in Logcat (Android Studio):
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=-2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 vis=PRIVATE)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2105)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:166)
at android.app.ActivityThread.main(ActivityThread.java:7377)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963)
f18nfz, bugsmafia, iamjoyce, raujonas, gklasen and 4 more
Metadata
Metadata
Assignees
Labels
No labels