基于地理位置的推送通知
我想向地理范围内的我的 iPhone 用户推送警报。我可以获取他们的信息 应用程序“处于活动状态”,但其他情况下则不然。 一个好的方法是:针对在最后一小时出现“范围内”的用户发送基于本地化的警报? nbsp;否则, ;我不确定如何仅向相关用户发出警报。 有没有更聪明的方法?
I'd like to push an alert to my iPhone users that are within a geographic range. I can get their location when my app is "alive," but not otherwise.
Would a good approach be: send the localized alert based on users that appeared "in-range" in the last hour? Otherwise, I'm not sure how to only alert relevant users.
Is there a smarter approach?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
缺乏后台处理确实会损害这样的应用程序。考虑到相当严格的限制,我认为您的解决方案可能是最好的方法。然而,你绝对应该提供减弱这种影响的能力,因为它可能会开始变得非常烦人。
The lack of background processing really hurts applications like this. I think your solution is probably the best approach, given that rather severe limitation. However, you definitely should offer the ability to tone this down, as it could start to get really annoying.