forked from core/mobile_nebula
47865d568b
I think this closes the loop on DNS issues I was experiencing.
Previously, after starting Nebula, DNS would work until you switched
networks (e.g. from mobile to WiFi or vice-versa). This was fixed by
removing some explicit DNS server sets in commit
|
||
---|---|---|
.github/workflows | ||
android | ||
fonts | ||
ios | ||
lib | ||
nebula | ||
.git-blame-ignore-revs | ||
.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
Currently using flutter 2.0.5
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