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

doctor : Modifying the version ranges to keep up to date with RN 0.72 #1858

Merged

Conversation

arushikesarwani94
Copy link
Contributor

Summary:

React Native is increasing the minimum Android_SDK requirement from Android SDK Platform 31 to Android SDK Platform 33 for 0.72 onwards.

https://reactnative.dev/docs/next/environment-setup#installing-dependencies

ANDROID_SDK from versionRanges file is not used anymore. For the ANDROID_SDK health check we're getting required SDK version from android/build.gradle file via getBuildToolsVersion helper function. So it depends what is shipped with core but updating the versionRanges for posterity. Similarly for the ANDROID_NDK

https://github.com/facebook/react-native/blob/574653319a1208ee21993da9e2576fc2eb7bf9e9/template/android/build.gradle#L5

Resolves #1855 & #1856

Test Plan:

No visible change, keeping the versionRanges for ANDROID_SDK & ANDROID_NDK up-to-date in order to avoid confusion in future.

Copy link
Collaborator

@adamTrz adamTrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙂

@adamTrz
Copy link
Collaborator

adamTrz commented Mar 4, 2023

Could you please fix failing tests? 🙏🏼

@adamTrz adamTrz merged commit 08b140a into react-native-community:main Mar 6, 2023
szymonrybczak pushed a commit that referenced this pull request Mar 17, 2023
…#1858)

* Modifying the version to keep up to date

* Modifying the version to keep up to date
@arushikesarwani94 arushikesarwani94 deleted the version_ranges branch March 17, 2023 20:11
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.

feat : Bump minimum Android_SDK requirement to Android SDK Platform 33 for RN 0.72 in doctor
3 participants