forked from core/mobile_nebula
e844e2c195
`logWrap` is a configuration that allows for users to decide if when viewing logs the lines should extend off screen allowing for scroll behavior or if they should wrap at screen edge. We also considered allowing users to toggle this setting at the Site level but decided that since users would likely want this setting to apply to all sites, we hoisted the configuration. Advances #3 |
||
---|---|---|
android | ||
fonts | ||
ios | ||
lib | ||
nebula | ||
.gitignore | ||
.metadata | ||
README.md | ||
env.sh.example | ||
gen-artifacts.sh | ||
pubspec.lock | ||
pubspec.yaml |
README.md
Dependencies
flutter
gomobile
android-studio
- Enable NDK Check local.properties for current NDK version
Copy env.sh.example to env.sh and update your PATH variable to expose both flutter and go bin directories
export PATH="$PATH:/path/to/go/bin:/path/to/flutter/bin
Formatting
flutter format
can be used to format the code in lib
and test
but it's default is 80 char line limit, it's 2020
Use:
flutter format lib/ test/ -l 120
Release
Update version
in pubspec.yaml
to reflect this release, then
Android
flutter build appbundle --no-shrink
This will create an android app bundle at build/app/outputs/bundle/release/
Upload the android bundle to the google play store https://play.google.com/apps/publish
iOS
In xcode, Release -> Archive then follow the directions to upload to the app store. If you have issues, https://flutter.dev/docs/deployment/ios#create-a-build-archive