Skip to content

Commit 36666b6

Browse files
Tommertomjamesdaniels
Tommertom
andauthored
docs(fcm): Better messaging about NGSW compat (#2732)
I think we all love Angular and if there is an Angular-ish way of using service workers together with this great AngularFire package, it should be noted here. Initially I got really stuck figuring out workbox. While it is very powerfull, but also time consuming. So I recommend giving the reader a bit more comfort about the potential/opportunities using AngularFire. Co-authored-by: James Daniels <[email protected]>
1 parent 46cc99d commit 36666b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/messaging/messaging.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
> The FCM JavaScript API lets you receive notification messages in web apps running in browsers that support the Push API.
44
5-
### AngularFireMessaging is not compatible with the Angular Service Worker
5+
### AngularFireMessaging is not out-of-the-box compatible with the Angular Service Worker
66

7-
If you are using the Angular Service Worker, you are not currently able to use AngularFireMessaging.
7+
If you are using the Angular Service Worker, you are not currently able to use AngularFireMessaging out-of-the-box
88
If you'd like this feature please add your 👍 to [this issue](https://github.com/angular/angular/issues/34352).
99

1010
Your alternatives are to use
1111
- [WorkboxJS](https://developers.google.com/web/tools/workbox/)
12+
- Follow the discussion in this [this issue](https://github.com/angular/angular/issues/34352) and [here](https://github.com/angular/angularfire/discussions/1923), manually registering the Angular Service Worker
1213
- The Firebase Messaging Service Worker, which is detailed below
1314

1415
### Import the `NgModule`

0 commit comments

Comments
 (0)