Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Websocket #15

Open
marcusvcs opened this issue Apr 10, 2017 · 0 comments
Open

Disable Websocket #15

marcusvcs opened this issue Apr 10, 2017 · 0 comments

Comments

@marcusvcs
Copy link

Hi,

At first I would like to thank you for your work.
It seems to be possible to use the app without websockets, but I could not make it work.
I disabled it in textsecure.yml and in the Android app, like the following:

GcmRefreshJob.java and RegistrationService.java:

TextSecurePreferences.setWebsocketRegistered(context, false)

After that, the messages is sent to the server but never is delivered to the client.

I tried keeping the same values as you say in your tutorial for REGISTRATION_ID and senderId in pushserver.yml and tried to create my own values on Google Developer Console.

I noticed too that the API used for GCM in Android is deprecated and that the GCM is being replaced by FCM.

Do you know if the GCM notifications as are in the application is still working?
Any clues for me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant