What are push configurations (host, port, username, password) for TextSecure Server

浪尽此生 提交于 2019-12-06 16:54:02

问题


I installed TextSecure Server.(https://github.com/WhisperSystems/TextSecure-Server)

I also modified some server side code to to simplify registration process and to accept predefined sms/voice verification code.

I also created custom TextSecure app with my own TextSecure server details. And installed on my two android devices. I successfully registered TextSecure app on my two mobiles. No problem at all.

But when I send message from one mobile, server gets this message, but not able to connect to GCM push framework, and send this message to another mobile as a SMS. The message contents are in encrypted form. I don't understand what are gcm push frameworks credentials (host, port, username, password) that I need to mention in yml configuration file.


回答1:


You also need the PushServer: https://github.com/WhisperSystems/PushServer

The push configuration (host, port, username, password) is needed to communicate with the PushServer. The PushServer communicates with GCM (Google Cloud Messaging). You can configure GCM in the local.yml file for the PushServer (senderId and apiKey). You will need a Google Developer Account for that.

Hope this helps!



来源:https://stackoverflow.com/questions/28109437/what-are-push-configurations-host-port-username-password-for-textsecure-ser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!