Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nobonobo/gomobileapp
utility wrapper for gomobile
https://github.com/nobonobo/gomobileapp
Last synced: 22 days ago
JSON representation
utility wrapper for gomobile
- Host: GitHub
- URL: https://github.com/nobonobo/gomobileapp
- Owner: nobonobo
- Created: 2015-10-31T06:36:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T23:43:45.000Z (about 9 years ago)
- Last Synced: 2023-03-23T11:32:07.485Z (almost 2 years ago)
- Language: Go
- Size: 137 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gomobileapp
cli wrapper with additional features for gomobile.
japanese-document: http://golang.rdy.jp/2015/11/01/gomobileapp/
## features
- icons generation from one image.
- add icon resource of app. (https://github.com/golang/go/issues/9985)
- run on desktop
- install app for iOS## install
```sh
go get -u golang.org/x/mobile/cmd/...
go get github.com/nobonobo/gomobileapp
gomobileapp init
```## prerequire
### 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### icon generator
```sh
curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python2
sudo pip2 install icons
```## usage
for iOS app
```sh
go get -d github.com/nobonobo/nobopiano
gomobileapp build -icon icon.png -target ios github.com/nobopiano/nobopiano
# first time: open xcode(second or later: not open xcode.)
ios-deploy install -b nobopiano.app
```for Android apk
```sh
go get -d github.com/nobonobo/nobopiano
gomobileapp build -icon icon.png -target android github.com/nobopiano/nobopiano
adb install -r nobopiano.apk
```for Desktop app
```sh
go get -d github.com/nobonobo/nobopiano
gomobileapp build -target desktop github.com/nobopiano/nobopiano
./nobopiano
```## TODO
- no dependency icons.
- support icon for desktop