firebase / firebase/quickstart-android

FCM Crash:Bad notification posted from package

Open
#394 10 comments 0 reactions 1 assignee Claimed by @kroikie View on GitHub
api: messaging
Dominant language
Kotlin
Stars
9.3k
Forks
7.4k
Avg merge
2d 19h
Merged PRs (30d)
8

Description

* 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.