An open API service indexing awesome lists of open source software.

https://github.com/babedev/pusher-example

Pusher example for Android
https://github.com/babedev/pusher-example

android example kotlin pusher websocket

Last synced: 10 months ago
JSON representation

Pusher example for Android

Awesome Lists containing this project

README

          

[![Kotlin](https://img.shields.io/badge/Kotlin-1.2.50-blue.svg)](http://kotlinlang.org)

# Pusher example for Android
Demonstration how to use [Pusher](https://pusher.com/) on Android platform.

This project consists of 1 `Application` and 2 `Activity`. Each `Activity` will subscribe message event from `Application`.

# How to build
Add Pusher configuration in local.properties

```
pusher.appid=
pusher.key=
pusher.secret=
pusher.cluster=
```

# Run server

```
node server/index.js
```

# Dependencies
1. [Pusher](https://github.com/pusher/pusher-websocket-java)
2. [RxJava](https://github.com/ReactiveX/RxJava)