-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat(wallet-mobile): Add in-app notifications #3775
Conversation
Let's merge #3744 first. Note the target branch is not |
pushEvent(event) | ||
} | ||
|
||
if (event.trigger === Notifications.Trigger.TransactionReceived && event.metadata.walletId === selectedWalletId) { |
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.
topic to discuss with product, since if you have wallet X open and Y is syncing in background, should we display the other wallet messages? otherwise when switching the wallet it will send all notifications in one shot E.g if the wallet Y received 10 txs while X was open. (not a blocker for this PR tho)
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.
I'll have a look
const {styles} = useStyles() | ||
return ( | ||
<View style={styles.absolute}> | ||
<SafeAreaView edges={['top']}> |
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.
is it a Screen? if it is please add to the file name (convention)
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.
Not a screen, just the layout where the in-app notification is shown. Similar to our modals.
Description / Change(s) / Related issue(s)
Add in app notifications
Ticket
YV-157