Fix applying onyx updates from push notifications#43056
Conversation
|
@alitoshmatov 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] |
|
I tried it to test it on simulator and I couldn't achieve it. I will ask for other C+ to take it over |
|
I would like to take this over. Since this involves push notifications, it cannot be tested on a local dev build on a physical iOS device as far as I know. So, can you please run an adhoc build here, @arosiclair ? |
|
@alitoshmatov @c3024 iOS push notifications can only be tested internally and mobile push notifications do not work in Ad-hoc builds. |
Reviewer Checklist
Screenshots/VideosAndroid: NativepushAndroid.mp4Android: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
Tests well on Android emulator but all images on the app disappeared after opening the app through notification. This issue does not appear to be related to this PR. I am checking now on a physical device. |
This behaviour is also there on |
c3024
left a comment
There was a problem hiding this comment.
Looks good and tests well.
|
@aldo-expensify 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] |
|
✋ 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/aldo-expensify in version: 1.4.85-0 🚀
|
2 similar comments
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.4.85-0 🚀
|
|
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.4.85-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.85-7 🚀
|
Details
Adds a separate flow for applying onyx updates from push notifications. This fixes an issue where we try to apply them using event handlers for Pusher with an invalid
eventTypewhich results in a no-op.Fixed Issues
$ #43047
Tests
Android
iOS
Offline tests
None
QA Steps
None
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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-20240605-113232.2.mp4
iOS: Native
RPReplay_Final1717603620.MP4