ANR from Firebase messaging

Broadcast of Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11000010 pkg=xxx cmp=xxx/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) }

If your app is using Firebase Cloud Messaging(FCM), you might be familiar with this ANR in Google Play console.

This ANR looks like a Firebase issue and it indeed is a Firebase issue. The currently latest version firebase-messaging:20.3.0, still has this problem. Here is the github open issue.

Before Firebase team fixes this problem, I have no choice but rolled back to old firebase-messaging 20.0.0.

This is scaring because I saw many apps with this issue had already released to Play Store. I guess they are waiting Firebase to fix. It doesn’t seem to be fixed soon, so I would suggest you guys just roll back to the ‘safe’ version.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store