[英]push notifications with iPhone
Let's say that i am building an app for a 5 location restaurant. 假设我正在为5位餐厅构建应用程序。 The user would choose which restaurant that they will allow "push notifications" from.
用户将选择他们将允许“推送通知”的餐厅。 Is this possible?
这可能吗? Is it possible to allow a specific segment of an app to send notifications to a specific segment of users?
是否可以允许应用的特定片段向特定的用户群发送通知?
thanks 谢谢
The answer is yes, it is possible to send notifications to a subset of your users, both in iOS and android applications. 答案是肯定的,可以在iOS和Android应用程序中向用户的子集发送通知。
For both iOS and android, requests for push notifications are sent to Apple or Google servers requesting messages be sent to specific users. 对于iOS和Android,推送通知请求将发送到Apple或Google服务器,请求将消息发送给特定用户。 The application requesting these push notifications (which we call a 'push server' at my company) can, therefore, selectively send push notifications.
因此,请求这些推送通知的应用程序(我们称之为我公司的“推送服务器”)可以选择性地发送推送通知。
The only requirement, then, is that your push server be able to dynamically determine which users should receive a given notification. 因此,唯一的要求是您的推送服务器能够动态确定哪些用户应该收到给定的通知。 You would have to do the following:
您必须执行以下操作:
Hope this helps! 希望这可以帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.