に私が(電子メール、名前、写真他のすべてが正常に動作します user.getToken()
呼び出したときにこれがあります、など。)エラー:java.lang.Exceptionを:失敗した解決方法入手トークンクラスcom.google.firebase.auth.FirebaseUser
dependencies {
// make sure you have these versions by updating your local Android SDK's (Android Support repo and Google repo)
compile "com.google.firebase:firebase-core:9.4.0"
compile "com.google.firebase:firebase-database:9.4.0"
compile "com.google.firebase:firebase-auth:9.4.0"
compile "com.google.firebase:firebase-crash:9.4.0"
// for reading google-services.json and configuration
compile "com.google.android.gms:play-services-base:9.4.0"
// Uncomment if you want to use 'Remote Config'
compile "com.google.firebase:firebase-config:9.4.0"
// Uncomment if you want FCM (Firebase Cloud Messaging)
compile "com.google.firebase:firebase-messaging:9.4.0"
// Uncomment if you want Google Cloud Storage
compile 'com.google.firebase:firebase-storage:9.4.0'
// Uncomment if you need Facebook Authentication
compile "com.facebook.android:facebook-android-sdk:4.+"
// Uncomment if you need Google Sign-In Authentication
compile "com.google.android.gms:play-services-auth:9.4.0"
}
私はhttps://github.com/EddyVerbruggen/nativescript-plugin-firebaseを使用していますが、入手トークンは()私が言われているとして、IOSで動作します。問題はアンドロイドでのみ持続します。
オリジナルスレッド:https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/153