Это когда я называю user.getToken()
Все остальное работает отлично (электронный адрес, имя, фото и т.д ..)Ошибка в firebase.getCurrentUser: Ошибка: java.lang.Exception: Ошибка разрешения метода getToken на классе 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 но getToken работает в IOS (как мне сказали). Проблема сохраняется только в android.
Оригинальная резьба: https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/153