[CP Staging] Fix notification click through#31663
Conversation
|
@aimane-chnaif 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] |
|
Reviewing |
|
@arosiclair can you please generate QR build? It seems push notification not working in dev build so going to test Adhoc build. |
|
I triggered the adhoc build |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
@aimane-chnaif can we test the android build? I'll test iOS internally |
|
yes on it |
Reviewer Checklist
Screenshots/VideosAndroid: NativeWorks well on android. Tested all app states - background, foreground, quit android.notification.mp4Android: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
| if (Navigation.getActiveRoute().slice(1, 2) === ROUTES.REPORT && !Navigation.isActiveRoute(`r/${reportID}`)) { | ||
| Navigation.goBack(ROUTES.HOME); | ||
| } | ||
| Navigation.isNavigationReady() |
There was a problem hiding this comment.
NAB: I think this is redundant as it's promised in Navigation.waitForProtectedRoutes already.
But let's leave as is for now for safety.
|
Thanks for the review! |
…hrough [CP Staging] Fix notification click through (cherry picked from commit 424bbfe)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.4.1-13 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.4.1-13 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.1-13 🚀
|
Details
Fixes notification click through navigation being canceled by a navigation back to the homescreen
Fixed Issues
$ #31625
Tests
Offline tests
None
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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-20231121-170706.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop