a mirror of DefinedNet/mobile_nebula
Go to file
Nate Brown 97620046c4 Build/release ios and android 2022-08-12 16:16:34 -05:00
.github/workflows Build/release ios and android 2022-08-12 16:16:34 -05:00
android Show a message on android if permissions were denied (#65) 2022-08-05 16:42:31 -05:00
fonts Initial commit 2020-07-27 15:43:58 -05:00
ios Allow import of private key, make it so key material isn't removed when navigating off the add a cert page (#64) 2022-08-05 16:42:17 -05:00
lib Show a message on android if permissions were denied (#65) 2022-08-05 16:42:31 -05:00
nebula Allow import of private key, make it so key material isn't removed when navigating off the add a cert page (#64) 2022-08-05 16:42:17 -05:00
.git-blame-ignore-revs git blame ignore that the format merge (#39) 2021-05-03 17:00:29 -05:00
.gitignore Rebind against nebula 1.6 for relays, modernize build (#63) 2022-08-04 19:39:46 -05:00
.metadata Initial commit 2020-07-27 15:43:58 -05:00
CHANGELOG.md Fix date 2021-06-09 20:31:00 -05:00
README.md Update README.md (#36) 2021-05-03 16:25:59 -04:00
env.sh.example Initial commit 2020-07-27 15:43:58 -05:00
gen-artifacts.sh Rebind against nebula 1.6 for relays, modernize build (#63) 2022-08-04 19:39:46 -05:00
pubspec.lock Update for Flutter 2.8.0 (#54) 2022-01-18 11:58:26 -05:00
pubspec.yaml Rebind against nebula 1.6 for relays, modernize build (#63) 2022-08-04 19:39:46 -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