-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Migrated notifications to Firebase #3198
Migrated notifications to Firebase #3198
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Can you fix the conflicts here? |
VITE_ENV=develop | ||
VITE_VAPID_KEY= |
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.
These should both have a default value that will work out of the box
); | ||
|
||
const firebaseConfig = { | ||
// TODO: config |
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.
What needs to be done here?
@@ -23,5 +23,6 @@ | |||
"start_url": ".", | |||
"display": "standalone", | |||
"theme_color": "#000000", | |||
"background_color": "#ffffff" | |||
"background_color": "#ffffff", | |||
"gcm_sender_id": "XXXXXXXXXXXX" |
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.
What does XXXXXXXXXXXX
represent?
@eswarasai I've converted this PR to a draft as I see some things missing and the preview deployment doesn't work. |
@eswarasai can you resolve conflicts |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Keep this |
Fixes Issue: snapshot-labs/snapshot-webhook#23
Changes in this PR:
Notification
tray on top right cornerHow to test and review this PR?
Notification
tray on top right cornerTODO:
src/helpers/firebase.ts
(Ref: How to build standard javascript file (like firebase-messaging-sw.js) during vite dev for other service intergration. vitejs/vite#9023)