wizpanda/cordova-plugin-firebase-lib

Android notification not working when app is closed

Wegetal opened this issue · 2 comments

Describe the bug

Push notification not working when app is closed, when in foreground or open it works perfectly, tested in 2 devices (zenfone 5z, moto g5), with the following versioning setups:

cordova: 9.0.0, firebase-plugin: 5.1.1, cordova-android: 8.0.0;

cordova 8.1.2, firebase-plugin: 3.3.0, cordova-android: 7.0.0

Expected behavior

Push notification working when app is closed

Plugin Version

5.1.1 currently

Smartphone :

  • Device: Asus zenfone 5z
  • OS: Android 9.0

Will get this checked.

Update: just not working in zenfone 5z now, i think the energy management of this device may be affecting it, as i must choose a management type, not possible to deactivate it