Skip to content
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

fix(PWA): decouple FCM initialization failures from service worker registrations #1507

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented Mar 5, 2024

Continued fixes in #1384

Problem:

If the site is not hosted on FC - the default relay server is not available for push. Incorrect URL set in site config will cause FCM initialization to fail and in turn, fail service worker registration too.

Handle service worker registration successfully even if FCM initialization fails

@ruchamahabal ruchamahabal merged commit 77ec067 into frappe:develop Mar 5, 2024
6 checks passed
@ruchamahabal ruchamahabal changed the title fix: decouple FCM initialization failures from service worker registrations fix(PWA): decouple FCM initialization failures from service worker registrations Mar 5, 2024
ruchamahabal added a commit that referenced this pull request Mar 5, 2024
…1507

fix(PWA): decouple FCM initialization failures from service worker registrations (backport #1507)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant