Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

D/FirebaseInstanceId: background sync failed: INVALID_PARAMETERS

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
like image 430
Isaac Sekamatte Avatar asked Jul 19 '26 20:07

Isaac Sekamatte


1 Answers

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>

like image 166
Hitesh Patil Avatar answered Jul 22 '26 12:07

Hitesh Patil