-
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
Add iOS Communication Notifications #32765
Conversation
19dd7b9
to
53272e9
Compare
…s-comms-notifications
…s-comms-notifications
I'm at a total loss for how to fix these workflow tests. I thought updating references to "Decrypt profile" name would fix things but no dice. @roryabraham @radoslawkrzemien it looks like you guys are the experts on this. I've got a EOY deadline for this and I'm going OOO for a few days so any help would be greatly appreciated 🙇. |
Going to jump in and see if I can help out here |
# Conflicts: # ios/NewExpensify.xcodeproj/project.pbxproj # ios/Podfile.lock
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Many many thanks for fixing that up @roryabraham! This is ready for another set of reviews @mananjadhav @Julesssss. Let's get this merged ASAP! |
@arosiclair I am reviewing the code and I also tried testing the adhoc build. The notification didn't work for me. I didn't get any notification at all. I won't call it a blocker because the general notification didn't work for me on the prod app too. Would appreciate if we make it mandatory for the internal engineer to upload the screenshots. RPReplay_Final1703611173.MP4 |
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.
Overall the code changes look fine. I've reviewed the entitlements and the swift code. I don't have the context on the signing profiles. Will let the internal engineer review it and also this comment.
🎯 @mananjadhav, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #33606. |
This is expected for the ad-hoc build since we haven't setup push notifications for that bundle unfortunately. Currently they should only work in dev (only for internals on iOS) and in prod.
@deetergp lemme know if you have an iPhone to test this with. Otherwise, you can just code review and then I'll re-test myself. |
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.
The code looks good to me, but I'll leave it to you to test it @arosiclair 👍
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ 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/deetergp in version: 1.4.19-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.19-2 🚀
|
cc @Julesssss
Details
Implements Communication Notifications for iOS. This adds user avatars and the group/room name to comment notifications. This uses a new Notification Service Extension which is a separate app target/binary that gets embedded into the application.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/258522
Tests
iOS 15.0+ only
Offline tests
None
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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
N/A
Android: mWeb Chrome
N/A
iOS: Native
iOS: mWeb Safari
N/A
MacOS: Chrome / Safari
N/A
MacOS: Desktop
N/A