wizpanda / cordova-plugin-firebase-lib

This repository is moving & merging to https://github.com/wizpanda/cordova-plugin-firebase-lib to avoid confusion to developers.
https://www.wizpanda.com/
MIT License
68 stars 38 forks source link

Android notification not working when app is closed #33

Open Wegetal opened 5 years ago

Wegetal commented 5 years ago

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 :

sagrawal31 commented 5 years ago

Will get this checked.

Wegetal commented 5 years ago

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