3
0
Fork 0
a fork of mobile_nebula adding additional features and bringing Trifid to mobile devices
Go to file
John Maguire 10d6b6bb9a
Merge pull request #25 from JohnMaguire/fix-build
Minor tweaks for a clean build
2021-04-22 18:56:00 -04:00
android Minor tweaks for a clean build 2021-04-22 18:46:16 -04:00
fonts Initial commit 2020-07-27 15:43:58 -05:00
ios Add logWrap to global settings 2021-02-05 10:09:56 -05:00
lib Add logWrap to global settings 2021-02-05 10:09:56 -05:00
nebula Update icon 2020-09-24 16:24:04 -05:00
.gitignore Update README.md and pubspec.lock 2020-12-10 13:52:54 -05:00
.metadata Initial commit 2020-07-27 15:43:58 -05:00
README.md Minor tweaks for a clean build 2021-04-22 18:46:16 -04: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 Adjust sourcing of env.sh w/ relative path 2020-12-08 11:06:52 -05:00
pubspec.yaml Tweak android icon 2020-09-25 10:47:10 -05:00

README.md

Dependencies

Downgrade flutter to a 1.x release (the following worked on an AUR install of flutter)

cd $(dirname $(readlink $(which flutter)))
git checkout 1.22.6
flutter doctor

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