-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
The Android emulator I am using has Google Play Services 10.9.30 (from Settings -> Apps -> App Info -> Google Play Services). The setup instructions ask the user to link v11.0.0 of the Firebase libs, which gives the error "[app-name] won't run unless you update Google Play Services" - which can only be done by updating the API version of the emulator to the latest one (API 26 at the moment).
I got my app running by replacing:
android/app/build.gradle
compile "com.google.firebase:firebase-core:11.0.0"
compile "com.google.firebase:firebase-auth:11.0.0"
compile "com.google.firebase:firebase-crash:11.0.0"
compile "com.google.firebase:firebase-database:11.0.0"
compile "com.google.firebase:firebase-messaging:11.0.0"
compile "com.google.firebase:firebase-storage:11.0.0"
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
with:
android/app/build.gradle
compile "com.google.firebase:firebase-core:10.0.1"
compile "com.google.firebase:firebase-auth:10.0.1"
compile "com.google.firebase:firebase-crash:10.0.1"
compile "com.google.firebase:firebase-database:10.0.1"
compile "com.google.firebase:firebase-messaging:10.0.1"
compile "com.google.firebase:firebase-storage:10.0.1"
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
Note that Firebase:Perf does not work with this setup.
Can we have this documented?
Metadata
Metadata
Assignees
Labels
No labels