-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android: allow root project to specify dependency versions #149
Conversation
This did the trick for me, after setting supportLibVersion in my root build.gradle's ext block. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks fine. Thanks
@mlc @demoran23 should we add this notice somewhere in the Readme file?? |
Good idea, @lbalmaceda! I've updated the PR to include a note in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
thanks! |
I'm stuck on this but have copied the gradle file from this PR — any update on when this will be published on NPM? |
@Amnesthesia Sorry about that 😞will be in |
React Native projects with multiple native dependencies often end up unintentionally relying on a variety of Android SDK versions, which can lead to unpredictable build-time failures or even run-time crashes, such as the weirdness in #67. Many libraries (see, e.g., react-native-maps/react-native-maps#2047, invertase/react-native-firebase#1007) have been moving to a system of allowing the solution recommended by google of having the root project set properties with the desired dependency versions. This PR implements that solution for
react-native-auth0
.