-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Consistently update Onyx with push notification data #15142
Conversation
@aimane-chnaif @stitesExpensify One of you needs to 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] |
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.
Nice, this is working great.
device-2023-02-15-105308.mp4
reviewing now (I can test only android) |
@cristipaval please fix conflict Code changes look good to me. Before fix: before.movAfter fix: after.mov |
c82f992
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroidafter.mov |
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.
After 1:1 discussion with @cristipaval, we can ignore microseconds issue before showing new message (though already saved in Onyx) after app becomes active. so approving now
🎯 @aimane-chnaif, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #15247. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.2.74-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.2.74-0 🚀
|
Details
Triggers the push notification callbacks even when the App is in foreground. This improves storing the report action in the Onyx on Android. More details here.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/259117
Tests and QA Steps
This is applicable on iOS and Android only.
Physical device is needed to test push notifications on iOS.
Offline tests
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
N/AMobile Web - Chrome
N/AMobile Web - Safari
N/ADesktop
N/AiOS
iOS.native.mov
Android
android.native.mov