Repository navigation
Bump React Native 0.88 - #101739
Bump React Native 0.88#101739collectioneur wants to merge 50 commits into
Conversation
|
|
…rn-0.88 # Conflicts: # package-lock.json # package.json # patches/@expensify/react-native-live-markdown/details.md # patches/@shopify/react-native-skia/details.md
# Conflicts: # package-lock.json # package.json # patches/react-native/react-native+0.88.0+017+publish-gradle.patch
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Both releases ship the RN 0.88 / AGP 9 fixes upstream, so the blob-util ProGuard patch and the rnmapbox rn088-compat patch are dropped. The rnmapbox immediate-follow-camera patch is ported to 10.3.10.
…rn-0.88 # Conflicts: # metro.config.js # package-lock.json # package.json # patches/metro/details.md # patches/metro/metro+0.87.1.patch # patches/react-native/details.md # src/components/ValidateCodeInput.tsx
…e-Expensify submodule to main
… Mobile-Expensify
…atusBarAppearance variants
|
All contributors have signed the CLA ✍️ ✅ |
78a3b22 to
49bb2b9
Compare
…rn-0.88 # Conflicts: # ios/Podfile.lock
…r, which React Native 0.87 removed
|
@MelvinBot please create 2 follow-up issues, held on this PR: Bump react-native-svg and drop the @react-native/assets-registry workaround |
|
|
…rn-0.88 # Conflicts: # Mobile-Expensify # ios/Podfile.lock # package-lock.json # package.json # patches/react-native/details.md # patches/react-native/react-native+0.88.0+001+fixMVCPAndroid.patch # patches/react-native/react-native+0.88.0+021+fix-hermes-sampling-profiler-pthread-kill-crash.patch
|
@shubham1206agra could you please review this PR? |
|
@MelvinBot create 2 follow-up issues as maintainer requests.
|
|
Hi @collectioneur 👋 I see melvin still failing here - I am investigating the issue and the re-run of mine will help me get to the bottom of things. |
|
Thank you! |
|
Created both maintainer-request follow-ups, labeled
|
…rn-0.88 # Conflicts: # Mobile-Expensify # patches/expo/details.md
…rn-0.88 # Conflicts: # ios/Podfile.lock
|
🚧 mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
…rn-0.88 # Conflicts: # ios/Podfile.lock # knip.json
…rn-0.88 # Conflicts: # Mobile-Expensify
…rn-0.88 # Conflicts: # package-lock.json # package.json # patches/react-native/details.md # src/components/Pressable/PressableWithDelayToggle.tsx
…rn-0.88 # Conflicts: # package.json # src/components/TimePicker/TimePicker.tsx
|
Still doing the review |
WhatsApp.Video.2026-11-19.at.08.43.08.mp4@collectioneur A couple of bugs present in the video like camera layout is not open properly first time and missing avatar in profile page share. |
|
Thanks for testing! camera-first-open-non-repro.mp4Missing avatar in profile Share: this also reproduces on production, so it isn't caused by this PR: qr-avatar-repro-prod.mp4 |
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…rn-0.88 # Conflicts: # ios/Podfile.lock
Reviewer Checklist
Screenshots/VideosWhatsApp.Video.2026-11-19.at.08.43.08.mp4Screen.Recording.2026-11-19.at.8.31.31.AM.mov |

Explanation of Change
Upgrades React Native 0.86 to 0.88 and Expo SDK 57 to 58 (with React 19.3, Metro 0.87 and Hermes 260318099). Ports our patches to the new versions, drops the ones fixed upstream, adds RN 0.88 build fixes for some native libraries, and adapts StatusBar, the web asset registry, types and Jest to the new APIs.
Non-obvious
package.jsonchanges:@react-native/assets-registryis now a direct dependency. RN 0.87+ moved the registry into core and no longer depends on this package, butreact-native-svgstill imports@react-native/assets-registry/registrywithout declaring it. The App does not import it, so it is in knip'signoreDependencies.react-freezeis now a direct dependency. The App imports it inFreezeWrapperandScreenFreezeWrapperbut only got it transitively throughreact-native-screens, which knip flags.expo-locationpatch (Guard failed lastLocation task in expo-location to stop Android crash on revoked location permission #101091) and itsbuildFromSourceentry are removed.expo-location58 readslastLocationwithaddOnSuccessListener/addOnFailureListenerinstead of readingtask.resultinaddOnCompleteListener, so the crash after revoking the location permission is fixed upstream, and the prebuilt AAR can be used again. Test 6 steps 5-6 cover it.Patches
This PR adds five small compatibility patches instead of bumping those libraries, because no bump removes them safely: two libraries have no release with the fix, and for the other three the fixed version changes much more than the few-line patch it would replace. Each
details.mdrecords the version that lets us drop the patch, and the bumps can follow as separate PRs once RN 0.88 is merged.react-native-draggable-flatlist(new004): RN 0.87 removedInteractionManager, but the library still callsInteractionManager.runAfterInteractions(reset)during render when the list keys change (Columns search, adding or removing waypoints). The render throws, React recovers, andreset()never runs, so the drag state goes stale. The patch usesrequestAnimationFrameinstead, as the upstream fix does. No fixed release: upstream issue #627 and PR #628 are open, and 4.0.3 (May 2025) is still the latest version.react-native-advanced-input-mask(new001): RN 0.87 removed theReact/RCTBaseTextInputView.hheader, which the library imports without using, so the iOS build fails. The patch drops the import. No fixed release: upstream PR #155 is open, and 1.4.6 is still the latest version.react-native-plaid-link-sdk(new002): in RN 0.88getCurrentActivity()is a plain Kotlin function, soPlaidModule.ktdoes not compile. The patch readsreactApplicationContext.currentActivity. Fixed in 12.7.0, bump separately: our OAuth patch001(bank redirects in HybridApp on iOS) does not apply to 12.7.0 or 12.8.8 and has to be re-ported and tested against a real bank, and the bump also moves the native Plaid SDKs (Androidsdk-core5.3.4 to 5.5.x).@ua/react-native-airship(new001): RN 0.88 changed the Kotlin signatures ofViewManagerDelegate, so four overrides fail withACCIDENTAL_OVERRIDE. The patch suppresses that diagnostic. Fixed in 27.0.0, bump separately: 26.12.0 fixes only one of the four overrides, and 27.0.0 is a major that movesAirshipFrameworkProxyfrom CocoaPods to Swift Package Manager on iOS, which needs its own push notification testing.@react-native-documents/picker(new001): samegetCurrentActivity()change as Plaid. Fixed in 12.0.0, bump separately: that is two majors from 10.1.3 (11.0.0 drops CommonJS, 12.0.0 moves iOS to Swift 6 concurrency).Fixed Issues
$ #101427
PROPOSAL: N/A
MOBILE-EXPENSIFY: https://github.com/Expensify/Mobile-Expensify/pull/14136
Tests
Tests are grouped by the platforms they run on, and steps that apply to only some of those platforms are marked. Most of the changes are native (React Native, Expo modules and their patches), so most tests are for the HybridApp on iOS and Android.
All platforms (iOS, Android, mWeb Safari, mWeb Chrome, desktop Chrome/Safari)
Test 1: The composer keeps live markdown and the patched TextInput behavior
*bold* _italic_ ~strike~ `code`, then on a new line> quote https://expensify.com @followed by the first letters of a teammate's name, and pick them from the suggestionscodeas an inline code block with a rounded border and padding around the textTest 2: Receipts can be scanned, rotated and cropped
Test 3: Attachments open, zoom and play
Web only (desktop Chrome/Safari, mWeb Safari, mWeb Chrome)
Test 4: Web resolves images and icons through the new asset registry
Native only (iOS and Android HybridApp)
Test 5: The HybridApp starts and loads on React Native 0.88
npm run iosandnpm run androidTest 6: GPS distance tracking works with Expo 58
Test 7: Native libraries with RN 0.88 build fixes still work
1234.567in the first amount field1234.56(at most two decimals)Android only
Test 8: The chat keeps its scroll position when older messages load
Test 9: The status bar follows the screen
Offline tests
QA Steps
Same as tests, using the staging HybridApp builds and staging web instead of the local
npm runbuilds.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Test 1:
test1-composer-markdown-paste.mp4
Test 2:
test2a-gallery-scan-orientation-rotate-crop.mp4
Test 3:
test3a-pdf-upload-open-zoom.mp4
test3b-image-zoom-paging-video.mp4
Test 5:
test5-app-start-tabs.mp4
Test 6:
test6a-gps-permission-flow.mp4
test6b-gps-trip-save-offline-map-revoke-permission.mp4
Test 7:
test7-plaid-amount-input.mp4
Test 8:
test8-chat-scroll-older-messages.mp4
Test 9:
test9-status-bar-theme.mp4
Offline:
offline-test-2x.mp4
Android: mWeb Chrome
mweb-chrome-compressed.mp4
iOS: Native
Test 1:ScreenRecording_11-06-2026.11-54-09_1.MP4
ScreenRecording_11-06-2026.11-55-31_1.MP4
Test 2:
ScreenRecording_11-06-2026.12-02-39_1.MP4
Test 3:
ScreenRecording_11-06-2026.12-04-15_1.MP4
Test 5:
ScreenRecording_11-06-2026.12-05-13_1.MP4
Test 6:
ScreenRecording_11-06-2026.12-09-05_1_compressed.mp4
Test 7:
ScreenRecording_11-06-2026.03-13-15_1.MP4
Offline:
iOS: mWeb Safari
safari-mweb-offline-compressed.mp4
safari-mweb-compressed.mp4
MacOS: Chrome / Safari
webrn-compressed.mp4