I'm building an Ionic App which uses push notifications. I followed the documentation from here . I can register, I see the token is registered OK, but when I send notifications from ionic , I receive them only if the app is in background. If the app is running, I get no notification . The event cloud:push:notification
is not triggered.
Any ideas?
Thanks!
Make sure to use the ionic-cloud
library for interfacing with Ionic.io. The event you mentioned is not triggered by the deprecated ionic-platform-web-clinet
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.