react-native-google-sign-in
react-native-google-sign-in copied to clipboard
Is this working with Android API 19?
I almost did everything, and i cant find solutions to my problem. I am testing and building my application on android api 19. It doesn't open after building it, after adding react native google sign in and i've done all of the steps. This is my build.gradle
:
dependencies { compile 'com.android.support:multidex:1.0.1' compile(project(":react-native-google-sign-in")) { // ADD this exclude group: "com.google.android.gms" } compile(project(':react-native-firebase')) { transitive = false } compile project(':react-native-fbsdk') compile project(':react-native-vector-icons') compile(project(':react-native-maps')){ exclude group: 'com.google.android.gms' } compile project(':react-native-geocoder') compile fileTree(include: ['*.jar'], dir: 'libs') // From node_modules compile 'com.android.support:appcompat-v7:23.0.0' compile 'com.facebook.react:react-native:+' compile ("com.google.android.gms:play-services-base:11.0.4") { force = true; } compile ("com.google.android.gms:play-services-maps:11.0.4") { force = true; } compile ("com.google.firebase:firebase-core:11.0.4") { force = true; } compile ("com.google.firebase:firebase-auth:11.0.4") { force = true; } }
apply plugin: 'com.google.gms.google-services'
While this is my android/build.gradle
:
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Please help me?
@sircEUNHO Do you have any error messages?
It may be related to https://github.com/joonhocho/react-native-google-sign-in/issues/34 as you are using firebase
in your project. there may be some conflicts in library versions.
Please try the gradlew
commands that I posted here, https://github.com/joonhocho/react-native-google-sign-in/issues/34#issuecomment-328105207, and see if you have any version conflicts.