Reputation: 895
I'm trying to get Pusher working on Android. Here are my needs.
Note: I've already tried the following routes....
Anyone else have any luck with this?
Upvotes: 3
Views: 6984
Reputation: 15467
Pusher have a Java library: https://github.com/pusher/pusher-java-client
There's a very simple sample application here: https://github.com/pusher/pusher-android-example
You can tell the Pusher
instance to use an encrypted connection via PusherOptions
. See:
https://github.com/pusher/pusher-java-client/blob/master/src/main/java/com/pusher/client/PusherOptions.java#L24
I think this is likely to be updated to be the default, or at least reconnection will try over SSL if an unencrypted connection fails.
Upvotes: 5