# The Push Notifications Guide for Capacitor

**URL:** <https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492>\
**Category:** showcase\
**Created:** [April 7, 2023, 9:09am UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492 "2023-04-07T09:09:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![robingenz](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/robingenz/32/144137_2.png) [@robingenz](https://forum.ionicframework.com/u/robingenz)\
**Post date:** [April 7, 2023, 9:09am UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/1 "2023-04-07T09:09:48Z")

</div>

You want to add push notifications to your Capacitor app with support for Android, iOS and Web?

I created a (very) detailed guide to help you integrate Firebase Cloud Messaging.

Check out the new blog post ⬇

> **[The Push Notifications Guide for Capacitor - Capawesome](https://capawesome.io/blog/the-push-notifications-guide-for-capacitor/)**
>
> Capawesome offers enterprise-grade solutions and services designed for teams building cross-platform apps with Capacitor.

---

<div class="post-metadata">

**Author:** ![jgv66](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jgv66](https://forum.ionicframework.com/u/jgv66)\
**Post date:** [April 12, 2023, 5:02am UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/2 "2023-04-12T05:02:07Z")

</div>

hi  
thanks for sharing the push notif. guide. Looks awesome  
i have two questions about this

```
authDomain: "YOUR_AUTH_DOMAIN",
storageBucket: "YOUR_STORAGE_BUCKET",

```

where i can found documentation about it? i can’t understand whats its meaning.  
my domain is “www.kinetik.cl” i must use, by example:

```
authDomain: "www.kinetik.cl",
storageBucket: "www.kinetik.cl",

```

can you help me please?  
thanks in advance

---

<div class="post-metadata">

**Author:** ![robingenz](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/robingenz/32/144137_2.png) [@robingenz](https://forum.ionicframework.com/u/robingenz)\
**Post date:** [April 12, 2023, 10:13am UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/3 "2023-04-12T10:13:51Z")

</div>

These values are generated by the Firebase Console (see the image above in the guide: [https://capawesome.io/assets/external/user-images.githubusercontent.com/13857929/230481273-c4c02fe4-4861-4e77-8563-0e259eb8c976.png](https://capawesome.io/assets/external/user-images.githubusercontent.com/13857929/230481273-c4c02fe4-4861-4e77-8563-0e259eb8c976.png)). Just copy/paste it.

---

<div class="post-metadata">

**Author:** ![jgv66](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jgv66](https://forum.ionicframework.com/u/jgv66)\
**Post date:** [April 12, 2023, 7:29pm UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/4 "2023-04-12T19:29:47Z")

</div>

it’s great !!!  
I received a service worker message.

 ![image.png](https://global.discourse-cdn.com/ionicframework/original/3X/7/3/735f2b913bd070496df308aba3625b680e7ca2da.png)

do you have some template for displaying a message like this?

thanks in advance

---

<div class="post-metadata">

**Author:** ![jgv66](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jgv66](https://forum.ionicframework.com/u/jgv66)\
**Post date:** [April 13, 2023, 3:38am UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/5 "2023-04-13T03:38:47Z")

</div>

robin  
i modified the app in web version to display each movement.  
I uploaded it to my https site and display the result of the actions

like this.

 ![image.png](https://global.discourse-cdn.com/ionicframework/original/3X/b/2/b287c549f12776b0f665bcc7cd8aeca5d47af8ec.png)

i send a message from FCM and works great ( points 4,5,6 )

later, I installed the web-app into my iphone ( add to init page… )  
it’s loaded, but the actions stop at point 1… i press “request permissions” and nothing happens  
did you now for some bug or something similar into FCM or IPHONE or Ionic 6  
It has been quite a challenge but it is nice to be getting positive results  
thanks in advance

 ![image.png](https://global.discourse-cdn.com/ionicframework/original/3X/7/3/735f2b913bd070496df308aba3625b680e7ca2da.png)

---

<div class="post-metadata">

**Author:** ![robingenz](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/robingenz/32/144137_2.png) [@robingenz](https://forum.ionicframework.com/u/robingenz)\
**Post date:** [April 13, 2023, 2:47pm UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/6 "2023-04-13T14:47:35Z")

</div>

> [@jgv66](#):
>
> do you have some template for displaying a message like this?

Yes, i just added it to the blog post: [The Push Notifications Guide for Capacitor - Capawesome](https://capawesome.io/blog/the-push-notifications-guide-for-capacitor/#__codelineno-13-30)

---

<div class="post-metadata">

**Author:** ![robingenz](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/robingenz/32/144137_2.png) [@robingenz](https://forum.ionicframework.com/u/robingenz)\
**Post date:** [April 13, 2023, 2:49pm UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/7 "2023-04-13T14:49:37Z")

</div>

> [@jgv66](#):
>
> did you now for some bug or something similar into FCM or IPHONE or Ionic 6

If the app is installed as a native app, it should work fine. If you use the web version, then note that web push notifications are only supported from iOS 16.4.

---

<div class="post-metadata">

**Author:** ![jgv66](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jgv66](https://forum.ionicframework.com/u/jgv66)\
**Post date:** [April 14, 2023, 3:23am UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/8 "2023-04-14T03:23:14Z")

</div>

i use iphone verson16.4.1 … and it’s not working  
by the way, thanks a lot for your help

---

<div class="post-metadata">

**Author:** ![balrng](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@balrng](https://forum.ionicframework.com/u/balrng)\
**Post date:** [March 20, 2025, 1:06pm UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/9 "2025-03-20T13:06:17Z")

</div>

Hello, thanks for this great tuttorial, I wonder why did you choose unofficial capacitor firebase plugin:

> **[Capacitor Firebase Cloud Messaging Plugin - Capawesome](https://capawesome.io/plugins/firebase/cloud-messaging/)**
>
> Capawesome offers enterprise-grade solutions and services designed for teams building cross-platform apps with Capacitor.

Instead of official one:  
@capacitor/push-notifications

---

<div class="post-metadata">

**Author:** ![julio-ionic](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@julio-ionic](https://forum.ionicframework.com/u/julio-ionic)\
**Post date:** [March 20, 2025, 1:47pm UTC](https://forum.ionicframework.com/t/the-push-notifications-guide-for-capacitor/232492/10 "2025-03-20T13:47:02Z")

</div>

Well, the author of the blog post is also the author of the “unofficial capacitor firebase plugin”.

`@capacitor/push-notifications` plugin doesn’t officially support FCM on iOS, you can make it work following [this guide](https://capacitorjs.com/docs/guides/push-notifications-firebase), but doesn’t support all FCM features.
