Skip to content

FZambia/centrifuge-mobile-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple example of using centrifuge-mobile library for Android development.

You need to download library build for Android from releases page.

In archive you will find centrifuge.aar file that is library built for all Android architectures. To use it with Android Studio project:

File → New → New Module → Import .JAR/.AAR package → write path to centrifuge.aar and click Finish button

Then:

File → Project Structure → app → Dependencies → Add Module Dependency → add centrifuge to dependency list

Look at example in this repo to get basic understanding of how to use library. Note that should add special permission for app in AndroidManifest.xml file:

<uses-permission android:name="android.permission.INTERNET" />

Don't forget to run Centrifuge-based server (or Centrifugo). And also change connection address to yours accordingly.

About

Example of using centrifuge-mobile library on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages