# Push Notification ERROR with Ionic app in android 12 devices

**URL:** <https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510>\
**Category:** Ionic Framework\
**Created:** [December 13, 2022, 11:58am UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510 "2022-12-13T11:58:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrilorenFT](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GabrilorenFT](https://forum.ionicframework.com/u/GabrilorenFT)\
**Post date:** [December 13, 2022, 11:58am UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/1 "2022-12-13T11:58:31Z")

</div>

Hello everyone, everything good?

I’m having problems with push notifications (via Firebase) on some cell phone models (Samsung A and others), using Android 12 in an Ionic/Cordova app.

It turns out that I am not receiving push notifications on these devices, but on others with android 11, 10 it is normal…

Anyone with a similar problem?

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [December 13, 2022, 1:45pm UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/2 "2022-12-13T13:45:39Z")

</div>

Sounds like you aren’t using Capacitor? No issues here with the official plugin - [Push Notifications Capacitor Plugin API | Capacitor Documentation](https://capacitorjs.com/docs/apis/push-notifications).

---

<div class="post-metadata">

**Author:** ![GabrilorenFT](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GabrilorenFT](https://forum.ionicframework.com/u/GabrilorenFT)\
**Post date:** [December 13, 2022, 2:01pm UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/3 "2022-12-13T14:01:48Z")

</div>

About this capacitor, the FCMPlugin doesn`t work the same way for notifications?

And can you talk more about this capacitor???

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [December 13, 2022, 2:07pm UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/4 "2022-12-13T14:07:20Z")

</div>

Ionic created Capacitor to replace Cordova - [https://capacitorjs.com](https://capacitorjs.com)

Some useful links:

- [Overview | Capacitor Documentation](https://capacitorjs.com/docs/cordova)
- [Cordova to Capacitor Migration | Capacitor Documentation](https://capacitorjs.com/docs/cordova/migrating-from-cordova-to-capacitor)
- [Push Notifications - Firebase | Capacitor Documentation](https://capacitorjs.com/docs/guides/push-notifications-firebase)

---

<div class="post-metadata">

**Author:** ![GabrilorenFT](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@GabrilorenFT](https://forum.ionicframework.com/u/GabrilorenFT)\
**Post date:** [December 13, 2022, 2:16pm UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/5 "2022-12-13T14:16:54Z")

</div>

For you, is better migrate from Cordova to Capacitor if the case is Android 12, 13?

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [December 13, 2022, 2:21pm UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/6 "2022-12-13T14:21:31Z")

</div>

I am not familiar with the Cordova community but I am pretty sure you will get better support on Capacitor since it is backed by Ionic (and now OutSystems). Android 12 & 13 are supported with Capacitor. Many Cordova plugins also run fine with Capacitor (it was created to be backward compatible).

---

<div class="post-metadata">

**Author:** ![ciccilleju](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ciccilleju/32/135142_2.png) [@ciccilleju](https://forum.ionicframework.com/u/ciccilleju)\
**Post date:** [December 13, 2022, 3:08pm UTC](https://forum.ionicframework.com/t/push-notification-error-with-ionic-app-in-android-12-devices/229510/7 "2022-12-13T15:08:57Z")

</div>

just think about the 2 things like this:  
Cordova: hell.  
Capacitor: paradise.

my life changed since i’ve migrated all my apps to Capacitor.

Don’t hesitate, do the migration asap 🙂
