pubnub.com 和 pusher.com - 是否向移动设备发送推送通知? [英] pubnub.com and pusher.com - does it send push notification to mobile?

查看:32
本文介绍了pubnub.com 和 pusher.com - 是否向移动设备发送推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它是如何工作的?这些服务是否也会向移动设备 iphone/android 发送推送通知?(即使设备已关闭?)

How does it work? do these service also send push notification to a mobile device iphone/android? (even if the device is switched off?)

推荐答案

它是如何工作的?

How does it work?

PubNub 专注于适用于所有设备和任何地方的 HTTP 连接(流媒体、长轮询、轮询等).

PubNub focus on HTTP connectivity (streaming, long-polling, polling etc.) that will work on all devices and anywhere.

Pusher 在客户端(网络浏览器、移动设备、平板电脑、桌面设备、任何支持网络的设备)与其服务之间使用 WebSocket.它们为旧设备或干扰 WebSocket 连接的网络提供 HTTP 回退.

Pusher use WebSocket between the client (web browser, mobile, tablet, desktop, any web-enabled device) and their service. They offer HTTP fallback for older devices or on networks that interfere with WebSocket connectivity.

这些服务是否也向移动设备 iphone/android 发送推送通知?

do these service also send push notification to a mobile device iphone/android?

这两种服务都支持通过其服务将数据从一台设备推送到另一台设备的能力.此功能与 Apple 推送通知 (APN)、Google 云消息传递 (GCM) 或 Microsoft 通知协议 (MNP) 的功能类型不同.

Both services support the ability to push data from one device to another via their service. This functionality is not the same type of functionality as Apple Push Notifications (APN), Google Cloud Messaging (GCM) or Microsoft Notification Protocol (MNP).

只有 PubNub 支持原生推送通知.

Only PubNub support native Push Notifications.

PubNub 提供大量客户端 SDK.

PubNub offer a larger number of client SDKs.

Pusher 有许多 客户端库.

(即使设备关闭?)

PubNub 提供了一种消息历史记录形式,用于通过移动/网络数据连接传递的消息.因此,在重新连接时,将传递错过的消息.

PubNub offer a form of message history for messaging delivered by mobile/web data connectivity. So upon reconnection missed messages will be delivered.

Pusher 目前不提供此功能.因此,在客户端断开连接期间发送的任何消息都会丢失.

Pusher do not presently offer this functionality. So any messages that are sent during periods where the client is disconnected are lost.

如果您使用 PubNub 及其本机推送通知支持,那么您将获得所使用的底层通知网络(Apple、Google 或 Microsoft)保证的交付.

If you use PubNub and their native Push Notification support then you get the delivery guaranteed by the underlying notification network that's used (Apple, Google or Microsoft).

这篇关于pubnub.com 和 pusher.com - 是否向移动设备发送推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆