[HybridApp] Receive structured initialProperties (not as url) and improve url handling#56698
Conversation
|
@hoangzinh Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-21.at.22.17.28.android.movAndroid: mWeb ChromeScreen.Recording.2025-02-21.at.22.18.32.android.chrome.moviOS: NativeScreen.Recording.2025-02-21.at.22.21.31.moviOS: mWeb SafariScreen.Recording.2025-02-21.at.22.19.38.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2025-02-21.at.22.07.06.web.movMacOS: DesktopScreen.Recording.2025-02-21.at.22.12.44.desktop.mov |
|
@hoangzinh Comments addressed 😌 |
|
Cool. @war-in can you add screenshots/recordings in the GH checklist? Thank you. |
# Conflicts: # src/pages/OnboardingEmployees/BaseOnboardingEmployees.tsx
|
@hoangzinh I wonder if the recordings are necessary because this PR doesn't include UI changes. Please let me know if you want them anyway and I'll add them asap 🫡 |
|
As far as I know, only when we add automation tests or doc, otherwise, we need to add recordings, as a part of the checklist. So please add it @war-in |
|
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
# Conflicts: # src/CONST.ts # src/components/ScreenWrapper.tsx
|
@mountiny @hoangzinh Done! Sorry for the delay :/ I got pulled into RN 77 bump Please keep in mind that we also need to merge OD PR, which is linked in the description. Thnaks! |
|
@war-in Does it work in your end? I tried to test with latest main branch from https://github.com/Expensify/Mobile-Expensify and this Pr and the app couldn't be load |
|
@hoangzinh this PR requires in the PR description. If you switch to this branch the app should work fine 🫡 |
|
ah your PR were merged but also were reverted. I thought it's merged so I tested in the main branch |
|
@hoangzinh I see, yeah, we need to think of some better solution for those two-repo PRs. I already pinged Jules so it should be merged again today 🤞 |
|
Oops. Your PR got conflicts again @war-in |
# Conflicts: # src/libs/actions/Session/index.ts
|
Resolved 😓 |
|
@mountiny please note that this PR and PR https://github.com/Expensify/Mobile-Expensify/pull/13416 will introduce some breaking changes, therefore they need to be merged and be deployed together. |
|
oh, we already have @Julesssss here. |
|
I just merged a variant of the Mobile-Expensify PR. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…-props-as-object-v2 [HybridApp] Receive structured initialProperties (not as url) and improve url handling (cherry picked from commit e040f59) (CP triggered by puneetlath)
…ng-56698-1 🍒 Cherry pick PR #56698 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/Julesssss in version: 9.1.9-7 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.9-8 🚀
|


Explanation of Change
This PR improves the way data is received from OldDot. Now it's structured and typed
Fixed Issues
$ #56836
PROPOSAL:
MOBILE-EXPENSIFY: https://github.com/Expensify/Mobile-Expensify/pull/13449
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Screen.Recording.Mar.4.2025.from.Marcin.Warchol.mp4
Android: mWeb Chrome
android.-.web.mov
iOS: Native
ios.-.native.mov
iOS: mWeb Safari
ios.-.web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov