You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ServiceWorker registration fails in Facebook/Instagram in-app browser on iOS #3630
The error occurs during the messaging service initialization when attempting to add an event listener to the ServiceWorker. The specific line causing the issue is:
The Facebook/Instagram in-app browser on iOS does not support or properly expose the ServiceWorker API, causing navigator.serviceWorker to be undefined. This issue persists even with the latest Angular 19 framework.
Impact
Firebase Cloud Messaging service initialization fails
Push notifications cannot be registered or received
Affects only users accessing the Angular 19 application through Facebook/Instagram in-app browser on iOS devices
+1 I have the same problem with an ionic app that uses @angular/fire/messaging. When the app is built for ios, starting the native ios app throws the same error.
Activity
google-oss-bot commentedon Feb 27, 2025
This issue does not seem to follow the issue template. Make sure you provide all the required information.
aaltepet commentedon Mar 4, 2025
+1 I have the same problem with an ionic app that uses @angular/fire/messaging. When the app is built for ios, starting the native ios app throws the same error.
veneliniliev commentedon Mar 5, 2025
@aaltepet I use this solution: firebase/firebase-js-sdk#8817 (comment)