我正在尝试添加 react-native firebase 插件。 https://github.com/invertase/react-native-firebase 不幸的是我被困在这个问题上。任何帮助将不胜感激
问问题
47 次
1 回答
0
在 Android Studio 上更新您的 app/build.gradle
com.google.android.gms:play-services-gcm
dependencies {
compile(project(':react-native-firebase')) {
transitive = false
}
...
// From node_modules
compile project(':react-native-push-notification')
>>> compile ('com.google.android.gms:play-services-gcm:11.6.0') {
force = true;
}
// Firebase dependencies
compile "com.google.android.gms:play-services-base:11.6.0"
compile "com.google.firebase:firebase-core:11.6.0"
compile "com.google.firebase:firebase-analytics:11.6.0"
}
于 2018-01-17T12:21:26.473 回答