GoldenOwlAsia / react-native-twitter-signin

MIT License
167 stars 303 forks source link

Error in Android after installing react-native-google-signin/google-signin library #189

Open anctsys opened 2 years ago

anctsys commented 2 years ago

Error in Android after installing react-native-google-signin/google-signin library with rnfirebase

After install the library npm i @react-native-twitter-signin/twitter-signin Follow the procedure https://rnfirebase.io/auth/social-auth

Installation broken

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.twitter.sdk.android:twitter-core:3.3.0.
     Searched in the following locations:
       - file:/node_modules/react-native/android/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - file:/node_modules/jsc-android/dist/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - https://repo.maven.apache.org/maven2/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - https://dl.google.com/dl/android/maven2/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
       - https://www.jitpack.io/com/twitter/sdk/android/twitter-core/3.3.0/twitter-core-3.3.0.pom
     Required by:
         project :app > project :react-native-twitter-signin_twitter-signin

Someone have a solution to use social authentification with rnfirebase

@BroHammie , i found jcenter from android/build.gradle why did you use it ? @Saad9624 , you have an other solution

Originally posted by @anctsys in https://github.com/GoldenOwlAsia/react-native-twitter-signin/issues/187#issuecomment-1063738087

anctsys commented 2 years ago

Reopen issue

Saad9624 commented 2 years ago

facing same.

Jaybee4real commented 2 years ago

Facing the same issue

tannguyen05 commented 2 years ago

try add this, clean and rebuild, worked for me from @BroHammie allprojects { repositories { ... jcenter() } }