justjavac / react-native-login-twitter

This package provides necessary code to get your social sign in using Twitter works with least pain possible.
MIT License
7 stars 15 forks source link

Compatibility with React Native 0.64.0 #12

Open mkassan opened 3 years ago

mkassan commented 3 years ago

Hello, I am using this library in my React Native project. When I try to build my android application using gradle, the manifest merge fails.

Here is how I want to build my Android project:

I have this error message: ...\node_modules\react-native-login-twitter\android\build\intermediates\tmp\manifest\androidTest\debug\manifestMerger1735801381514322441.xml:5:5-74 Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [com.facebook.react:react-native:0.64.0] C:\Users\mkn5.gradle\caches\transforms-2\files-2.1\3c60dec4d2e7311185325b2ffd835b57\jetified-react-native-0.64.0\AndroidManifest.xml as the library might be using APIs not available in 16 Suggestion: use a compatible library with a minSdk of at most 16, or increase this project's minSdk version to at least 21, or use tools:overrideLibrary="com.facebook.react" to force usage (may lead to runtime failures)

Please note that my android/build.gradle file has a minSdkVersion = 21.

Do you have any idea? For more information, don't hesitate. Thank you

justjavac commented 3 years ago

please try https://github.com/GoldenOwlAsia/react-native-twitter-signin

mkassan commented 3 years ago

Hello, Thank you for your reply. I have tested this library but I have reproduced the problem..