-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Wallet] Support push notifications with an "open url" semantic #5413
Conversation
- When the `ou` (Open Url) field is set, it redirect the user to that url - Fix notifications not handled when app is launched because of a notification - AlertBanner/showMessage now supports an action parameter - Add test for notifications handling
Logger.info(TAG, 'App opened fresh via a notification') | ||
yield call( | ||
handleNotification, | ||
initialNotification.notification, |
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.
We were bit again by redux-saga
types not being inferred correctly.
Here leading to the initial notification to not be handled correctly.
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 great!! Just wondering, does Ankit test push notifications? I imagine he might have a hard time receiving one, right? What's the easiest way to receive one for testing?
Yes he tests notifications between 2 devices and has reported when they were missing in the past. |
Hi @gnardini Verified task using latest Android play store internal build v1.3.0(1004294316) & Test Flight build v1.3.0(27) and found the following:
Note: Previously "Alfajore A friendly reminder you're ...." in app notification is shown when user fresh sign up but now we are not getting even after fresh sign up in the app. Verified devices:
|
Thanks @Lss-Ankit, all this is expected:
|
Thanks @jeanregisser for the update. So #1, is there any chance that we can get the "Hey Tap this to send your feedback" notification for testing purpose? |
@Lss-Ankit ping me tomorrow and I can send you such push notification. And no need to test the alfajores banner. Thanks |
Thanks @jeanregisser for the co-ordination. Verified scenarios:
New Issue: https://github.com/celo-org/celo-monorepo/issues/5592 CC: @gnardini |
Description
This PR adds support for push notifications with an "open url" semantic.
When the
ou
(Open Url) data field is set, it redirects the user to that url.Other changes
AlertBanner
/showMessage
now supports an action parameterTested
Example marketing notification
Payment received (before/after)
Banner (before/after)
Related issues
Backwards compatibility
Yes