oijusti / react-native-firebaseui-auth

Easily add sign-in to your React Native app with FirebaseUI
MIT License
43 stars 10 forks source link

Installation fails to run the app #36

Closed tsvetann closed 3 years ago

tsvetann commented 3 years ago

Hi I just installed this package and when i run the app on my device I get the following error:

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find any matches for com.twitter.sdk.android:twitter-core:3.+ as no versions of com.twitter.sdk.android:twitter-core are available.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/twitter/sdk/android/twitter-core/maven-metadata.xml
       - file:/Users/user/.m2/repository/com/twitter/sdk/android/twitter-core/
       - file:/Users/user/repos/app/android/App/node_modules/react-native/android/com/twitter/sdk/android/twitter-core/maven-metadata.xml
       - file:/Users/user/repos/app/android/App/node_modules/jsc-android/dist/com/twitter/sdk/android/twitter-core/maven-metadata.xml
       - https://dl.google.com/dl/android/maven2/com/twitter/sdk/android/twitter-core/maven-metadata.xml
       - https://www.jitpack.io/com/twitter/sdk/android/twitter-core/maven-metadata.xml
     Required by:
         project :app > project :react-native-firebaseui-auth

any ideas? I don't even need the twitter implementaton Thanks

oijusti commented 3 years ago

Hey, can you try deleting this twitter implementation and see if it works https://github.com/oijusti/react-native-firebaseui-auth/blob/master/android/build.gradle#L56

tsvetann commented 3 years ago

That solved the problem!

tsvetann commented 3 years ago

implementation 'com.firebaseui:firebase-ui-auth:6.4.0' this one is also a problem. This version doesnt exist anymore you have to upgarde to 7.2.0

oijusti commented 3 years ago

Thanks @tsvetann for letting me know. I will update the dependencies in the next PR.

oijusti commented 3 years ago

Android dependencies have been updated v1.3.0