-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
eventType
which results in a no-op.Fixed Issues
$ #43047
Tests
Android
iOS
Offline tests
None
QA Steps
None
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
screen-20240605-113232.2.mp4
iOS: Native
RPReplay_Final1717603620.MP4