Skip to content
bytom mobile wallet SDK build by gomobile.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
ios
sdk fix(sdk): add golang.org/x/sys/unix package to vendor folder Aug 23, 2018
.gitignore
LICENSE
README.md

README.md

Bytom-Mobile-Wallet-SDK

Prepare

Make sure you have installed Golang/JDK/Android SDK/Android NDK/Xcode correctly.

  • Install Gomobile:
$ go get golang.org/x/mobile/cmd/gomobile
$ gomobile init -ndk ~/path/to/your/ndk

At least Go 1.7 is required. For detailed instructions, see https://golang.org/wiki/Mobile.

  • Clone this project to your $GOPATH/src
 git clone https://github.com/Bytom-Community/Bytom-Mobile-Wallet-SDK $GOPATH/src/github.com/bytom-community/mobile

Build

cd $GOPATH/src/github.com/bytom-community/mobile
  • Android
$ gomobile bind -target=android -ldflags=-s github.com/bytom-community/mobile/sdk/
  • iOS
$ gomobile bind -target=ios -ldflags=-w github.com/bytom-community/mobile/sdk/
You can’t perform that action at this time.