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…