-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add Browser Notifications for Web / Desktop #289
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
Conversation
|
@roryabraham bumping this one |
roryabraham
left a comment
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.
Code looks great and it passed lots of testing too. Only change I'm requesting is that we save the Expensify Icon URL in CONST.js, because it could very conceivably be used elsewhere in the application.
| @@ -0,0 +1,126 @@ | |||
| // Web implementation only. Do not import for direct use. Use 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.
** Web and desktop, right?
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.
yep
| import CONST from '../../CONST'; | ||
| import * as ActiveClientManager from '../ActiveClientManager'; | ||
|
|
||
| const EXPENSIFY_ICON_URL = `${CONST.CLOUDFRONT_URL}/images/favicon-2019.png`; |
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 think we should move this to CONST.js
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.
yeah we probably should I'll fix this up.
|
Updated! |
roryabraham
left a comment
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.
Great, this code seems to work really well!
Fixes #285
Testing Steps: