Closed srdmnc closed 4 years ago
Can you please include more details such as device make, model, OS & versions as well as full config/gradle files, logcats, and anything else that may help us reproduce/debug the issue? Thanks
Device: Redmi Note 6 Pro OS: MIUI 10
Logcat Error: [OneSignal] Error Getting FCM Token [OneSignal] java.io.IOException: PHONE_REGISTRATION_ERROR [OneSignal] at com.google.firebase.iid.zzr.zza(Unknown Source:40) [OneSignal] at com.google.firebase.iid.zzr.zza(Unknown Source:0) [OneSignal] at com.google.firebase.iid.zzu.then(Unknown Source:10) [OneSignal] at com.google.android.gms.tasks.zzd.run(Unknown Source:26) [OneSignal] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [OneSignal] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [OneSignal] at java.lang.Thread.run(Thread.java:764) [OneSignal] scheduleSyncServiceAsJob:result: 1 [OneSignal] GetUnsentActiveTime: 0 [OneSignal] SaveUnsentActiveTime: 3 [OneSignal] Error Getting FCM Token [OneSignal] java.io.IOException: PHONE_REGISTRATION_ERROR [OneSignal] at com.google.firebase.iid.zzr.zza(Unknown Source:40) [OneSignal] at com.google.firebase.iid.zzr.zza(Unknown Source:0) [OneSignal] at com.google.firebase.iid.zzu.then(Unknown Source:10) [OneSignal] at com.google.android.gms.tasks.zzd.run(Unknown Source:26) [OneSignal] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [OneSignal] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [OneSignal] at java.lang.Thread.run(Thread.java:764)
@rgomezp Any update on this?
@srdmnc PHONE_REGISTRATION_ERROR
is an error thrown by Firebase but I couldn't find any specifics other than the "Google Play services" app on the device is having an issue.
I recommend making sure you can log into the Google Play store on the device and can download an app to make sure the device can fully authenticate with Google.
Since the issue is device related I recommend trying a different device the Android Studio emulator if this issue is blocking your development.
Closing due to no response
Description: Getting google play services error in the dashboard - might be due to this IOException.
Environment
Steps to Reproduce Issue:
Anything else:
Platform: Xamarin Forms