什么是TextSecure Server的推送配置(主机,端口,用户名,密码)

时间:2015-01-23 11:59:27

标签: android push-notification jersey google-cloud-messaging

我安装了TextSecure Server。(https://github.com/WhisperSystems/TextSecure-Server

我还修改了一些服务器端代码,以简化注册过程并接受预定义的短信/语音验证码。

我还使用自己的TextSecure服务器详细信息创建了自定义TextSecure应用程序。并安装在我的两个Android设备上。 我在两部手机上成功注册了TextSecure应用程序。没问题。

但是当我从一个移动设备发送消息时,服务器收到此消息,但无法连接到GCM推送框架,并将此消息作为SMS发送到另一个移动设备。消息内容采用加密形式。 我不明白在yml配置文件中需要提及的gcm推送框架凭据(主机,端口,用户名,密码)是什么。

1 个答案:

答案 0 :(得分:3)

您还需要PushServer:https://github.com/WhisperSystems/PushServer

需要推送配置(主机,端口,用户名,密码)才能与PushServer通信。 PushServer与GCM(Google Cloud Messaging)通信。您可以在local.yml文件中为PushServer(senderId和apiKey)配置GCM。您需要一个Google开发者帐户。

希望这有帮助!

相关问题