【发布时间】:2016-04-25 12:38:34
【问题描述】:
这听起来可能很愚蠢,但是在我阅读了很多关于这个主题的内容之后,我仍然对推送有点困惑。
对我来说有两种推动:
1 - When your phone is idle and suddenly an "alert" pops up in the phone telling you something has happened with your app
2 - When you are "inside" the app and you get notified about something (maybe a new user joined the chat in a chat application)
在测试并阅读了 ionic push 的文档之后
http://docs.ionic.io/docs/push-overview
我仍然不确定 ionic push 是提供 #1 还是 #2。
他们对 APNs 说了很多(我知道这与 #1 有关)但是当我在这里阅读快速明星时:
http://docs.ionic.io/docs/push-quick-start
然后它声明:
"Once you have both details, make sure your application is OPEN and then use the following cURL request to send a push. Replace the highlighted text with your own values."
嗯?那么离子推送是关于推送到您的活动应用程序的吗?空闲的时候不行吗?
【问题讨论】:
标签: android ios ionic-framework push