[No QA] Bump react-native-localize#72447
Conversation
|
|
react-native-localizereact-native-localize
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp72447_android_native.movAndroid: mWeb Chrome72447_android_web.moviOS: HybridApp72447_ios_native.moviOS: mWeb Safari72447_ios_web.movMacOS: Chrome / Safari72447_web_chrome.movMacOS: Desktop72447_web_desktop.mov |
|
@brunovjk was this tested already? I see the reviewer checklist completed but no approval |
|
I tested it, but @mjasikowski, do we need to wait for these two PRs 13737 and 13738 to merge to actually test it? Thanks. |
Hi, we don't need to wait for other PRs to test it locally. Regarding merging order, we should merge https://github.com/Expensify/Mobile-Expensify/pull/13737 first and then remaining PRs |
|
Great! Reviewing now |
|
@mateuuszzzzz, if I uninstall the app from my iOS emulator, change my device's preferred language to Spanish, and then build the app again, I see this screen: And after logging in, the app remains in English: Screen.Recording.2025-10-16.at.08.52.50.movDo you think this is related to our PR? Thanks. |
Yes and no. This is known issue that happened before and AFAIK is related to usage of @brunovjk could you check what is return value of |
|
@mjasikowski I'm afraid we need to revert https://github.com/Expensify/Mobile-Expensify/pull/13738 ideally Let's wait for outcome of @brunovjk tests |
|
@brunovjk what's the status here? |
I'm finishing up another PR, I'll be back in a moment. Sorry for the delay. |
|
I can reproduce the bug on the latest main, sorry for the inconvenience @mateuuszzzzz: I'm finishing testing, but it seems our PR is fine.
I didn't quite understand. |
Usually, when we have a PR that updates the |
|
I'll resolve the conflicts and prepare the PR for merging. This time, there might not be any additional actions needed in Mobile-Expensify, but I'll double-check just to be sure. |
|
Ready, and no changes on |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 13 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
Great! Thanks so much for clarifying. I'll continue with the checklist. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mjasikowski in version: 9.2.37-1 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.2.37-8 🚀
|



Explanation of Change
We use old version of
react-native-localizewhich uses deprecatedonCatalystInstanceDestroywhich is not even called in our app. It causes memory leak ofBroadcastReceiveron Android.Fixed Issues
$ #63979
PROPOSAL:
MOBILE-EXPENSIFY: https://github.com/Expensify/Mobile-Expensify/pull/13738
Tests
Only thing that can be broken by this PR is
getDevicePreferredLocalewhich usesfindBestLanguageTagfromreact-native-localize.NOTE:
NVP_PREFERRED_LOCALEOnyx key might override the system locale, so make sure this isn’t happening when the locale doesn’t change after updating it in the system settings.Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop