Skip to content Skip to sidebar Skip to footer

Pusher On Android

I'm trying to get Pusher working on Android. Here are my needs. Must support 'private-' channels Must support secure connections Must be able to override the pusher/auth endpoint.

Solution 1:

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.

Post a Comment for "Pusher On Android"