feat: add push notifications for web and android#802
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployed to https://msg-adamant-pr-802.surge.sh 🚀 |
|
@Linhead |
eed143f to
5789d10
Compare
Co-authored-by: Metalisk Trading Bot <119663560+metalisk@users.noreply.github.com>
Co-authored-by: Metalisk Trading Bot <119663560+metalisk@users.noreply.github.com>
…ion + simplify architecture
…otification initialization
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…message channel API
…d + code improvements
…rivate key in service worker
…form to single page
… and remove unusble vars
…g FCM token fetch on Vercel - Restrict 'script-src' to 'self' since all Firebase dependencies are now local. - Update 'connect-src' to allow specific Google/Firebase endpoints for push notifications. - Add 'worker-src' to support Service Worker execution. - Remove redundant/unsafe directives to reduce the attack surface.
|
The task is finished. All review comments and requested changes have been implemented Test app: Testing Summary Results: Android (Phone 1): Android (Phone 2): Linux (Ubuntu): Important: Requirements for Push Delivery The browser tab must be minimized or closed. The user must be authenticated (logged in via password) with the "Stay logged in" option enabled. Guidelines for Future Testers: System Notifications: Check that notifications are allowed for your browser/app in the OS settings. Browser Permissions: Ensure the site has "Allow" permission for notifications. Focus Mode: Verify that "Do Not Disturb" or "Focus" mode is disabled on your device. Local Environment: Disable any aggressive ad-blockers or VPNs that might interfere with Firebase/Mozilla Push Service. Requirement for Bug Reports: Browser Console Logs. |
feat: Implement FCM Push Notifications infrastructure for Android and Web
Implements [Feat, Enhancement] Push notifications for Web/Android, Desktop #881
Addressed review comments