# FCM Notification not showing when app killed on some devices

**URL:** <https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471>\
**Category:** ionic-v3\
**Created:** [January 30, 2020, 11:39am UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471 "2020-01-30T11:39:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hg8200](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hg8200](https://forum.ionicframework.com/u/hg8200)\
**Post date:** [January 30, 2020, 11:39am UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/1 "2020-01-30T11:39:38Z")

</div>

I am working with ionic 3,

Some of devices not receiving FCM notifications when the app is killed on Android.  
Mostly common devices are Oppo, Vivo and Xiaomi.

I’ve tested two plugin

> **[arnesson/cordova-plugin-firebase](https://github.com/arnesson/cordova-plugin-firebase)**
>
> Cordova plugin for Google Firebase. Contribute to arnesson/cordova-plugin-firebase development by creating an account on GitHub.

and

> **[dpa99c/cordova-plugin-firebasex](https://github.com/dpa99c/cordova-plugin-firebasex)**
>
> Cordova plugin for Google Firebase. Contribute to dpa99c/cordova-plugin-firebasex development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![yashwanth493](https://avatars.discourse-cdn.com/v4/letter/y/a183cd/32.png) [@yashwanth493](https://forum.ionicframework.com/u/yashwanth493)\
**Post date:** [January 30, 2020, 11:58am UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/2 "2020-01-30T11:58:33Z")

</div>

Did you check with the onNotification method? and inside the onNotification wasTapped or not?.  
If you are not able to get any push notifications  
try following:

- Check are you registering your device with the corresponding server(backend).
- Once if it is registering successfully then check if the backend sending the push msg to the device registered…

---

<div class="post-metadata">

**Author:** ![hg8200](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hg8200](https://forum.ionicframework.com/u/hg8200)\
**Post date:** [January 30, 2020, 12:02pm UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/3 "2020-01-30T12:02:48Z")

</div>

> [@yashwanth493](#):
>
> Did you check with the onNotification method? and inside the onNotification wasTapped or not?.  
> If you are not able to get any push notifications

I’ve get the particular device token registered with my app. when app is on foreground the notification will show in notification bar but when you remove the app from background then the app didn’t get any notification on notification bar.

---

<div class="post-metadata">

**Author:** ![yashwanth493](https://avatars.discourse-cdn.com/v4/letter/y/a183cd/32.png) [@yashwanth493](https://forum.ionicframework.com/u/yashwanth493)\
**Post date:** [January 30, 2020, 12:05pm UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/4 "2020-01-30T12:05:55Z")

</div>

check with [this](https://forum.ionicframework.com/t/fcm-notification-not-working-when-app-is-kill-closed/125629) link once. It may help you.

---

<div class="post-metadata">

**Author:** ![hg8200](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hg8200](https://forum.ionicframework.com/u/hg8200)\
**Post date:** [January 30, 2020, 12:19pm UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/5 "2020-01-30T12:19:13Z")

</div>

Thanks i tried but not helpful.

---

<div class="post-metadata">

**Author:** ![salvatojalva](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/salvatojalva/32/123793_2.png) [@salvatojalva](https://forum.ionicframework.com/u/salvatojalva)\
**Post date:** [January 30, 2020, 5:35pm UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/6 "2020-01-30T17:35:06Z")

</div>

I have the same problem but only with iOS, just spend like 2 days trying to figure out what’s happenin but with no luck ☹

---

<div class="post-metadata">

**Author:** ![salvatojalva](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/salvatojalva/32/123793_2.png) [@salvatojalva](https://forum.ionicframework.com/u/salvatojalva)\
**Post date:** [January 31, 2020, 9:58pm UTC](https://forum.ionicframework.com/t/fcm-notification-not-showing-when-app-killed-on-some-devices/182471/7 "2020-01-31T21:58:27Z")

</div>

Sry this was my mistake, just in case my the mistake was this:

i just saw that the background notifications was enabled but this not is the capability of getting push notifications so i just added the cappability and run again.

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