Issues with cordova-plugin-firebasex plugin and FCM: investigation and doubts

Hey devs, good evening!

I’m investigating an issue with the cordova-plugin-firebasex plugin and FCM > GitHub - dpa99c/cordova-plugin-firebasex: Cordova plugin for Google Firebase

For some reason, the FCM token came as null at a certain point. Although this problem is not recurring, I would like to understand why this happened. Has anyone had a similar problem with the FCM token and managed to figure out why it happened?

During my investigation, I also found an issue related to Android. It seems that in some cases, the system is not requesting permission to receive notifications. According to the documentation, it’s necessary to add a configuration to the Android 13 manifest, but I’m testing on Android 10 and 12 on real devices and in none of the cases was permission requested. However, on iOS it’s working correctly. I would like to know if it’s normal not to request permission to receive notifications on Android 12 or below.

I would appreciate it if someone could clarify my doubts and help with the investigation. Thank you!


Ionic CLI : 6.20.8

Ionic Framework : @ionic/angular 6.5.1

@angular-devkit/build-angular : 14.2.10

@angular-devkit/schematics : 14.2.10

@angular/cli : 14.2.10

@ionic/angular-toolkit : 6.1.0


Cordova CLI : 11.1.0

Cordova Platforms : not available

Cordova Plugins : not available


cordova-res : not installed globally

native-run : 1.7.2


ios-deploy : 1.12.1

ios-sim : 8.0.2

NodeJS : v14.21.2

npm : 6.14.17

OS : macOS

Xcode : Xcode 14.2 Build version 14C18