Francesco
Francesco
i have the same problem of @meghajayakumar. After 5 min these functions stop working: - recursive `setTimeout()` - `setInterval()` - rxjs `interval()`
Solved using this: ``` this.backgroundMode.on('activate').subscribe(() => { this.backgroundMode.disableWebViewOptimizations(); this.backgroundMode.disableBatteryOptimizations(); }); ```
same issue here
i have the same problem
i'm using this [plugin](https://ionicframework.com/docs/v3/native/badge/) it works, but i can't manage to update the badge while app is in background or closed ._.
A possible solution (i can't check it right now) is to send the notification with `badge` attribute. Search badge [here](https://firebase.google.com/docs/cloud-messaging/http-server-ref).
You could store notifications on a custom model server side with a `read` flag that has to be True every time you open a notification. Than you have to increase...
Same problem. Just found [this](https://forum.ionicframework.com/t/using-requirecordovamodule-to-load-non-cordova-module-glob-is-not-supported/161541). Please update dependency to cordova-plugin-add-swift-support. If you want to temporary solve the problem replace every "context.requireCordovaModule" with "require" into add-Swift-support.js which is in the directory...
Same problem. Just found [this](https://forum.ionicframework.com/t/using-requirecordovamodule-to-load-non-cordova-module-glob-is-not-supported/161541). Please update dependency to cordova-plugin-add-swift-support. If you want to temporary solve the problem replace every "context.requireCordovaModule" with "require" into add-Swift-support.js which is in the directory...