Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nobonobo/gomobile-sample
Mobile Application Sample (Golang)
https://github.com/nobonobo/gomobile-sample
Last synced: 22 days ago
JSON representation
Mobile Application Sample (Golang)
- Host: GitHub
- URL: https://github.com/nobonobo/gomobile-sample
- Owner: nobonobo
- Created: 2015-10-03T07:57:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-23T12:08:52.000Z (about 9 years ago)
- Last Synced: 2023-03-23T11:32:07.168Z (almost 2 years ago)
- Language: Go
- Size: 273 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gomobile android/iOS sample
## Setup
### for iOS
- Xcode7 install
- npm install -g ios-deploy**Create Certificate for iOS Code signing**
- Open Preferences of Xcode7.
- Select Accounts and append own account.
- Click 'View Details' button for own account.
- Show 'Sigining Identities'
- Click 'Create' button for 'iOS Development'### for Android
- android-platform-tools install
- android-apktool install
- java runtime environment(> 1.8) install### gomobile
```sh
go get -u golang.org/x/mobile/cmd/...
gomobile init
```### icon generator
```sh
curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python2
sudo pip2 install icons
```## build & install iOS app
### first time
```sh
make app
open ./build/main.xcodeproj
# build -> Fix issues -> select AppleID
```### 2 times onward
```sh
make app
make install-app
```## build & install Android apk
```sh
make apk
make install-apk
```