a mirror of DefinedNet/mobile_nebula
Go to file
John Maguire 3194028a78
Unregister network callback on stop (Android) (#34)
Previously when `stopVpn()` was called, it was possible for the network
change callback to fire while we were in the middle of shutting down.
This commit unregisters the network change callback before telling
Nebula to shutdown.
2021-05-03 14:58:09 -04:00
android Unregister network callback on stop (Android) (#34) 2021-05-03 14:58:09 -04:00
fonts Initial commit 2020-07-27 15:43:58 -05:00
ios Rework ios ipc (#28) 2021-04-27 10:29:28 -05:00
lib Kotlin active site race on boot fix (#29) 2021-04-29 10:17:43 -05:00
nebula Kotlin active site race on boot fix (#29) 2021-04-29 10:17:43 -05:00
.gitignore Let Android install debug & release APKs side-by-side (#31) 2021-04-29 16:13:13 -04:00
.metadata Initial commit 2020-07-27 15:43:58 -05:00
README.md Upgrade to flutter 2 (#26) 2021-04-23 12:33:28 -05:00
env.sh.example Initial commit 2020-07-27 15:43:58 -05:00
gen-artifacts.sh Minor tweaks for a clean build 2021-04-22 18:46:16 -04:00
pubspec.lock Upgrade to flutter 2 (#26) 2021-04-23 12:33:28 -05:00
pubspec.yaml IPV6 support (#24) 2021-04-23 16:23:06 -05:00

README.md

Dependencies

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