I'm developing new iOS app using Parse.com, which uses to chat between two users. What is my problem is, when User A sends message to User B, it will store in Parse.com custom class object. But I want to know, how the Parse.com let to know the User B about he received message from User A. We can fetch from User B app with some frequent time. But this is not feasible way.
我正在使用Parse.com开发新的iOS应用程序,该应用程序用于在两个用户之间进行聊天。我的问题是,当用户A向用户B发送消息时,它将存储在Parse.com自定义类对象中。但我想知道,Parse.com如何让用户B知道他收到了来自用户A的消息。我们可以在很短的时间内从用户B应用程序中获取。但这不可行。
So, Is there any option that parse.com will send message to specific user who received message recently? I don't want to user Push notification for this, because push notification is different concept and also not reliable.
那么,有没有选择parse.com将消息发送给最近收到消息的特定用户?我不想为此使用推送通知,因为推送通知是不同的概念,也不可靠。
Thanks, Vijay.
1 个解决方案
#1
0
What you are asking for is exactly what Push Notifications are for. Your only other option is polling for changes.
您要求的正是Push Notifications的用途。您唯一的其他选择是轮询更改。
If you find Push Notifications unreliable you would need to implement a combination of push + polling.
如果您发现推送通知不可靠,则需要实现推送+轮询的组合。
There are some other technologies out there, but they're not options with Parse without a lot of middle-ware.
还有一些其他技术,但它们不是Parse的选择,没有很多中间件。
#1
0
What you are asking for is exactly what Push Notifications are for. Your only other option is polling for changes.
您要求的正是Push Notifications的用途。您唯一的其他选择是轮询更改。
If you find Push Notifications unreliable you would need to implement a combination of push + polling.
如果您发现推送通知不可靠,则需要实现推送+轮询的组合。
There are some other technologies out there, but they're not options with Parse without a lot of middle-ware.
还有一些其他技术,但它们不是Parse的选择,没有很多中间件。