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

Bump compileSdkVersion to 28 and buildToolsVersion to 28.0.2 #20585

Closed
wants to merge 2 commits into from

Conversation

dulmandakh
Copy link
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-bot facebook-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
@dulmandakh dulmandakh requested review from hramos and gengjiawen August 9, 2018 00:26
Copy link
Contributor

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

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
Contributor Author

@hramos any updates?

@dulmandakh
Copy link
Contributor Author

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

@hramos
Copy link
Contributor

hramos commented Aug 10, 2018

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.

@hramos
Copy link
Contributor

hramos commented Aug 17, 2018

This one is still waiting for approval from a teammate.

@hramos hramos self-assigned this Aug 17, 2018
@dulmandakh
Copy link
Contributor Author

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

@dulmandakh
Copy link
Contributor Author

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

@dulmandakh dulmandakh closed this Aug 23, 2018
@hramos
Copy link
Contributor

hramos commented Sep 19, 2018

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
Contributor

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

@dulmandakh
Copy link
Contributor Author

@gengjiawen working on it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This 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