Skip to content

Bump compileSdkVersion to 28 and buildToolsVersion to 28.0.2 - #20585

Closed
dulmandakh wants to merge 2 commits into
react:masterfrom
dulmandakh:bumk-sdk-28
Closed

Bump compileSdkVersion to 28 and buildToolsVersion to 28.0.2#20585
dulmandakh wants to merge 2 commits into
react:masterfrom
dulmandakh:bumk-sdk-28

Conversation

@dulmandakh

Copy link
Copy Markdown
Contributor

This PR will bump compileSdkVersion to 28 and buildToolsVersion to 28.0.2, which was released a few days ago.

I decided to split #20026 into smaller, easy to review PRs.

Test Plan:

Everything builds and runs as normal

Release Notes:

[ANDROID] [ENHANCEMENT] [SDK] - Bump Android SDK to 28

@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 9, 2018

@facebook-github-botfacebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@dulmandakh

Copy link
Copy Markdown
ContributorAuthor

@hramos any updates?

@dulmandakh

Copy link
Copy Markdown
ContributorAuthor

IMHO, there will be no change on how RN behaves because we retained targetSdkVersion.

@hramos

Copy link
Copy Markdown
Contributor

Gradle changes look OK to me, but I'm not sure if we can land the change to .buckconfig just yet as we're using android-26 elsewhere in the mono repo. The internal diff is waiting for review from someone with more insight into how React Native is consumed by our internal Android consumers. It looks like it should be good to go (all tests pass), but I don't feel comfortable landing this on a Friday afternoon.

@dulmandakhdulmandakh mentioned this pull request Aug 14, 2018
13 tasks
@hramos

Copy link
Copy Markdown
Contributor

This one is still waiting for approval from a teammate.

@dulmandakh

Copy link
Copy Markdown
ContributorAuthor

@hramos maybe merge #20777, which is used by many FB projects.

@dulmandakh

Copy link
Copy Markdown
ContributorAuthor

closing this PR, will create another PR once SDK 28 and support library 28.x released.

@hramos

Copy link
Copy Markdown
Contributor

I recently had to undo the bump to SDK 27 (and then add it back), so I'll add some more context in this PR for future reference. Hopefully this will be useful to myself, or whoever works on adding support for SDK 28.

Outright, I don't think we need to land support for 28 just yet. Google will not start requiring SDK 28 for new apps until August 2020.

In order to import this, whenever we decide it's needed, we'll first need to make sure the SDK is officially supported by Facebook's internal build system. As of this writing, we only support SDKs up to API 26.

Facebook employees can look at D9929066 to see how it's possible to use SDK 27 and 28 for running tests, prior to official support becoming available.

@gengjiawen

Copy link
Copy Markdown
Contributor

looks like the undo commit break ci build, can you check that ?

@dulmandakh

Copy link
Copy Markdown
ContributorAuthor

@gengjiawen working on it 👍

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.Needs: Imported Diff Waiting on Meta

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@dulmandakh@hramos@gengjiawen@facebook-github-bot@react-native-bot