Tried to register a token using FCM, the connection is OK, but I get the following error:
Client not ready yet..Waiting for process to come online
Connected to process 13635 on device emulator-5554
D/FirebaseInstanceId: background sync failed: INVALID_PARAMETERS, retry in 10s
D/FirebaseInstanceId: background sync failed: INVALID_PARAMETERS, retry in 20s
I also had same issue and I have solved it by just adding below code in AndroidManifest.xml file
<application android:label="My APP Name" android:icon="@mipmap/icon">
<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdInternalReceiver" android:exported="false" />
<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="${applicationId}" />
</intent-filter>
</receiver>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With