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
Fix autolink script #5990
Fix autolink script #5990
Conversation
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.
Hey @jinshin1013 Thanks for the PR!
-
minSdk should be 19 as we don't support 18 and below. At Wix, our minSdk is 21 but it really depends on your needs. If you don't test your app against older devices and can't guarantee it performs as expected on these old devices then you better increase your minSdk to 21.
-
Can you please explain why the change to podfile is needed? Is it to remove the pod definition in case users added it by following previous installation instructions?
@guyca Thanks for catching the regex issue, I'm still trying to get myself used to it 😓
Makes sense for minSdkVersion to be at least 19 and I also reckon most people would use 21 anyway.
I've found that whenever I run |
Isn't this desired? I thought |
That is true for react-native version below 0.60 as they do not support autolinking. But I believe tools should assume users are on the "new" react-native and add somewhere in the documentation for the legacy linking (adding Pod definition). Thoughts? |
This PR fixes the autolink script including: * Specifying the minSdkVersion for Android. Closes wix#5983. * Removing the RNN Pod added by the react-native link script.
This reverts commit d506f69.
This reverts commit d506f69.
This PR fixes the autolink script including:
@guyca I've assumed the minSdkVersion will be 19 unless user specified higher. I've got the version from the doc, should this be updated to something higher?