-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: push notifications #11250
fix: push notifications #11250
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@notifee/react-native@7.8.2, npm/@react-native-firebase/app@20.1.0, npm/@react-native-firebase/messaging@20.1.0 |
Bitrise❌❌❌ Commit hash: 5aeff10 Note
Tip
|
Bitrise❌❌❌ Commit hash: c8a802b Note
Tip
|
Bitrise❌❌❌ Commit hash: d762b5e Note
Tip
|
Quality Gate passedIssues Measures |
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.
Approving to unblock, but got one concern about duplicated firebase lib
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 work!
Some suggestions, questions and comments, but mainly for maintainability, guidelines compliance and readability.
Well done!
Let me know when I can have a second review pass.
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 discussing the comments I put in the PR, I let @Jonathansoufer decide if this is a blocker for this PR or if he can create a new followup PR to handled them.
So I approve it as I know he is currently evaluating this and it has already been reviewed by many others, so it's overall good to go.
@Jonathansoufer please link this PR in your next PR as the issue to be fixed.
I just want to remind that if we release a fix in prod, we have to be very careful about the test part even if the code part seems fine. Without test we are naked in the wild. I don't really feel comfortable being naked in the wild...
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** This PR addresses all comments from [this PR](#11250) related to unit tests best practices. ## **Related issues** Fixes: #11250 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [x] I’ve followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [x] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: Nico MASSART <NicolasMassart@users.noreply.github.com>
Description
This PR re-enable push notifications (background/foreground) based on notifee approach.
Related issues
Fixes:
NOTIFY-1103
Manual testing steps
3.Turn On Notifications
Expected behaviour: A device push notification should appear on your device.
Screenshots/Recordings
Before
After
Screen.Recording.2024-09-24.at.07.57.41.mov
Pre-merge author checklist
Pre-merge reviewer checklist