-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 compile and target sdk version to Android API 33 #50731
Conversation
packages/react-native-bridge/android/react-native-bridge/build.gradle
Outdated
Show resolved
Hide resolved
Size Change: 0 B Total Size: 1.39 MB ℹ️ View Unchanged
|
Flaky tests detected in 42f9d79. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5133957623
|
164ff34
to
3585191
Compare
createGestureHandler: jest.fn(), | ||
dropGestureHandler: jest.fn(), | ||
updateGestureHandler: jest.fn(), | ||
jest.mock( 'react-native', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed when mocking the WebView native module that in some tests the mock was restored, leading to failures.
Mocking the native modules this way should prevent this issue.
249529d
to
e25da81
Compare
…e-bridge` This version matches with the one set in `react-native-editor`.
This is needed to fetch the RN library dependencies that use sdk version 33.
Update Podfile.lock
b04c36c
to
5b00dd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! CI checks are passing and manual testing was done using the main apps, nice work! 🚀
What do you think about adding an internal note of the changes? |
@geriux Sure, I'll add an internal note about this in |
…ordPress#50731) * Bump sdk version to 33 * Bump `buildToolsVersion` to match RN versions * Bump `kotlinVersion` version to match WPAndroid version * Bump Aztec version to 1.6.4 * Update react-native-editor deps * Bump `kotlinVersion` version of `react-native-aztec` and `react-native-bridge` This version matches with the one set in `react-native-editor`. * Bump RN libraries publisher version to v2 This is needed to fetch the RN library dependencies that use sdk version 33. * Bump `react-native-webview` to version `11.26.1` * Mock React Native modules including WebView module * Update react-native-editor deps with `wp-fork` tags * Update Podfile.lock Update Podfile.lock * Update `react-native-slider` dependency * Update `react-native-editor` changelog
Related to wordpress-mobile/gutenberg-mobile#5556.
Related PRs:
What?
Upgrade
react-native-aztec
,react-native-bridge
, andreact-native-editor
projects to Android 13 (API 33). As well as the different React Native dependencies:react-native-libraries-publisher
react-native-gesture-handler
react-native-linear-gradient
react-native-prompt-android
react-native-reanimated
react-native-slider
react-native-video
Why?
Google Play requires apps to update to Android 13 (API level 33) before August 31, 2023.
How?
compileSdkVersion
andtargetSdkVersion
.buildToolsVersion
to match the React Native version (reference).kotlinVersion
to match the WPAndroid version (reference).AztecEditor-Android
version to the one that upgraded to Android 13 (reference).react-native-libraries-publisher
react-native-gesture-handler
react-native-linear-gradient
react-native-prompt-android
react-native-reanimated
react-native-slider
react-native-video
react-native-hsv-color-picker
(this library depends onreact-native-linear-gradient
, so we need to update it too)react-native-webview
to version 11.26.1 (c45a12b)react-native-webview
(aff6a53).Testing Instructions
This change doesn't affect a specific area, hence to test it we should basically smoke test the editor and check that works as expected.
Testing Instructions for Keyboard
N/A
Screenshots or screencast
N/A