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: allow graceful failure if serviceWorker is unavailable #8838

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ThatOneCalculator
Copy link

Addresses (but doesn't fully fix) #7309

This allows @firebase/messaging to fail gracefully if the service worker is not found for whatever reason (i.e. Capacitor app (my use case), iOS PWA, etc) instead of crashing the entire application.

@ThatOneCalculator ThatOneCalculator requested review from zwu52 and a team as code owners March 10, 2025 00:38
Copy link

changeset-bot bot commented Mar 10, 2025

🦋 Changeset detected

Latest commit: e8e7051

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/messaging Minor
firebase Patch
@firebase/messaging-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ThatOneCalculator ThatOneCalculator requested review from a team as code owners March 10, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant