3
0
Fork 0
a fork of mobile_nebula adding additional features and bringing Trifid to mobile devices
Go to file
John Maguire b2c674d65a Minor tweaks for a clean build
- Updated README with some maybe-helpful instructions for downgrading
  flutter to a version that will build the project
- Added a step to create a missing directory to the Gradle build
  (otherwise the build fails)
- Set `shrinkResources false` - otherwise you get an error that you
  can't shrink resources unless you also enable minifying
2021-04-22 18:46:16 -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