firebase / firebase/quickstart-android

FCM Crash:Bad notification posted from package

Offen
#394 10 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @kroikie Auf GitHub ansehen
api: messaging
Vorherrschende Sprache
Kotlin
Sterne
9.3k
Forks
7.4k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
8

Beschreibung

* Android device: Samsung(SM-G610F,SM-G950F,Galaxy A5(2016),Galaxy A3(2016),SM-G955F....)
* Android OS version: 7.0
* Google Play Services version: 11.0.4
* Firebase/Play Services SDK version: 11.0.4

#### crash log:
Fatal Exception: android.app.RemoteServiceException: Bad notification posted from package com.xxx.xxx: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.xxx.xxx user=UserHandle{0} id=0 tag=FCM-Notification:126882220 key=0|com.xxx.xxx|0|FCM-Notification:126882220|10173: Notification(pri=0 contentView=null vibrate=null sound=content://settings/system/notification_sound defaults=0x0 flags=0x10 color=0x00000000 vis=PRIVATE semFlags=0x0 semPriority=0))
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1813)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6776)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)

#### Steps to reproduce:

1. push an message to old version app
2. upgrade new app from google play store
3. click the message push to device before
4. app crash

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.