Skip to content

iOS and Android clients for Centrifugo and Centrifuge library using gomobile on top of centrifuge-go

License

Notifications You must be signed in to change notification settings

WallEnd/centrifuge-mobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo allows to generate Centrifuge/Centrifugo client libraries for iOS and Android app development using gomobile tool.

Gomobile is experimental project with all the ensuing circumstances.

You can download libraries for iOS and Android from releases page. See examples to dive into.

Note that on iOS this library does not include bitcode (it's still optional on iOS but can become required at any moment).

See how to import generated library on iOS and on Android – in two words you need to import centrifuge.aar (Android) or Centrifuge.framework (iOS).

API documentation on Godoc – this can be useful as iOS and Android code generated from Go code so you can rely on that docs when hacking with library.

For contributors

To build mobile libraries from Go source code using gomobile:

go get -u golang.org/x/mobile/cmd/gomobile
gomobile init
gomobile bind -target=ios github.com/centrifugal/centrifuge-mobile
gomobile bind -target=android github.com/centrifugal/centrifuge-mobile

Release

go get -u golang.org/x/mobile/cmd/gomobile
gomobile init
export ANDROID_NDK_HOME=/path/to/android-ndk-rXX
make release

About

iOS and Android clients for Centrifugo and Centrifuge library using gomobile on top of centrifuge-go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.9%
  • Shell 2.5%
  • Makefile 0.6%