简体   繁体   中英

Ionic + Cordova : How to receive the push notifications after the system reboot?

I'm using the Ionic push notifications integration for the Android and iOS.

I just switched from debug mode into production (see link: http://docs.ionic.io/docs/push-full-setup ). I am able to receive the push notifications if application is running in the background. But when the device is rebooted and the push notification is send, device will not receive the push notification until the app is started.

I would like to ask that is possible solve this situation and how?

Many thanks for any advice.

I've had a similar problem in a project and fixed it by referencing APN & GCM directly on server side and switching to a plugin ( https://github.com/phonegap/phonegap-plugin-push ) instead of Ionic Push. Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM