-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error caught at messaging().getToken() #1849
Comments
+1 getting the same error when trying to call EDIT: |
Please see https://rnfirebase.io/docs/v5.x.x/troubleshooting/android#Google-Play-Services-related-issues and the sections following it on how to check for valid play services installation. |
I am still facing this issue while trying to call
According to the react-native-firebase documentation, I executed the following function to know the status of my emulator's play services version
I got a positive result saying that the device has a valid play services installation. I am using an Android emulator with API 29 and Android 10 (Google API) So far, I don't understand what the issue is |
I am also facing same issue in nova 7i also install play store and play services |
@smismailalam Hi. Have you managed to get notifications to work on your huawei device? |
I had the |
Issue
The
firebase.messaging().getToken()
works in most devices I've tested expect a Huawei Nova 3i. When I run thefirebase.messaging().getToken()
method inside a try block, an error get caught. The error object readsError: AUTHENTICATION_FAILED
. On inspecting the properties of the Error object I getUsing the following code to inspect the error,
gives this
Project Files
iOS
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
ADD_SOMETHING_HERE
e.g. iOS 10 or Android API 28N/A
N/A
N/A
ADD_SOMETHING_HERE
e.g. Xcode 10, Android Studio 3.2React Native
version:0.57.8
React Native Firebase
library version:5.2.0
Firebase
module(s) you're using that has the issue:TypeScript
?N/A
ExpoKit
?ExpoKit
N/A
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on TwitterThe text was updated successfully, but these errors were encountered: