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

[RNMobile] Upgrade compileSdkVersion to 34 (Android) #54437

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

fluiddot
Copy link
Contributor

@fluiddot fluiddot commented Sep 13, 2023

Related PRs:

What?

Upgrades the compileSdkVersion to 34 as part of the support for Android 14.

Why?

Closes wordpress-mobile/gutenberg-mobile#6142.

How?

Updates the value in all references of compileSdkVersion:

  • react-native-aztec
  • react-native-bridge
  • react-native-editor

Bump AztecEditor-Android version to 1.8.0, which also uses version 34 of compileSdkVersion.

⚠️ NOTE: In past PRs where we upgraded Android (example), we also updated the React Native third-party libraries:

I assume that since we are only updating the compileSdkVersion and not targetSdkVersion, it's safe to leave them with an older version. But once we fully upgrade to Android 14, we'd need to update them.

Testing Instructions

  • Observe that all CI jobs pass.
  • Smoke test the editor on Android.

Testing Instructions for Keyboard

N/A

Screenshots or screencast

N/A

@fluiddot fluiddot added [Type] Build Tooling Issues or PRs related to build tooling Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) Mobile App - Automation Label used to initiate Mobile App PR Automation labels Sep 13, 2023
@fluiddot fluiddot self-assigned this Sep 13, 2023
Copy link

@thomashorta thomashorta left a comment

Choose a reason for hiding this comment

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

The changes look good to me. Thanks for helping with this! 🙇🏼

@@ -11,7 +11,7 @@ buildscript {
espressoVersion = '3.0.1'

// libs
aztecVersion = 'v1.6.4'
aztecVersion = 'v1.8.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Aztec library has been updated to incorporate wordpress-mobile/AztecEditor-Android#1059.

Copy link
Member

Choose a reason for hiding this comment

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

I'll do the writing flow tests in wordpress-mobile/gutenberg-mobile#6196 (comment) to double check it's working as expected.

@fluiddot
Copy link
Contributor Author

⚠️ NOTE: In past PRs where we upgraded Android (example), we also updated the React Native third-party libraries:

I assume that since we are only updating the compileSdkVersion and not targetSdkVersion, it's safe to leave them with an older version. But once we fully upgrade to Android 14, we'd need to update them.

cc @thomashorta @ParaskP7 in case you have concerns/feedback about following the above approach.

@geriux geriux self-requested a review September 25, 2023 09:22
Copy link
Member

@geriux geriux left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀 Thanks for working on this!

@fluiddot fluiddot merged commit bfd3bb7 into trunk Sep 25, 2023
50 checks passed
@fluiddot fluiddot deleted the rnmobile/update/compile-sdk-version-34 branch September 25, 2023 12:06
@github-actions github-actions bot added this to the Gutenberg 16.8 milestone Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - Automation Label used to initiate Mobile App PR Automation Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Build Tooling Issues or PRs related to build tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update compileSdkVersion to 34 in Gutenberg Mobile
3 participants