Skip to content
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

Using SDK Version variables from root project #6

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

rayronvictor
Copy link
Contributor

Instead of assuming the compileSdkVersion, targetSdkVersion, etc, read it from the root project.
Default compileSdkVersion and targetSdkVersion to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095

Instead of assuming the `compileSdkVersion`, `targetSdkVersion`, etc, read it from the root project.
Default `compileSdkVersion` and `targetSdkVersion` to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095
@jaimecbernardo jaimecbernardo self-requested a review April 24, 2018 15:07
@jaimecbernardo
Copy link
Member

Hi @rayronvictor,
Thank you for the contribution.
I was giving it a test, but it seems that the plugin was built with compileSdkVersion and buildToolsVersion greater than the ones react-native is using.

The behavior is as if the ext variables were not defined.
Where in the root project is the plugin supposed to be reading these values from?
Thank you, in advance.

@jaimecbernardo
Copy link
Member

A recent released change in React-Native relates to this PR. Newly created project-wise definitions seem to be what this PR's changes refer to.
facebook/react-native@0a3055d

@staltz
Copy link
Contributor

staltz commented Oct 26, 2021

We're maintaining this module now as a fork at https://github.com/nodejs-mobile/nodejs-mobile-react-native

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants