Skip to content

ndaeila/TrainingPlatform-FlutterApp

Repository files navigation

APP

Training web/mobile app.

Setup

Flutter

SDK-version v2.8.1 MacOS: https://flutter.dev/docs/get-started/install/macos Windows: https://flutter.dev/docs/get-started/install/windows

Dart

version 2.15.1

Upgrading flutter

Flutter Library Install

  • Use flutter pub upgrade basically
    • flutter pub get can't get newest library because of pubspec.lock

Recommended VSCode extensions:

  • Flutter
  • Dart
  • Bracket Pair Colorizer

Mac Specific

  1. Install Homebrew
  2. Install Ruby version manager which can handle .ruby-version e.g. rbenv
  3. Install Ruby by Ruby version manager
  4. Install Bundler gem install bundler
  5. bundle install --path vendor/bundle
  6. cd ios, bundle exec fastlane match development
    • Passphrase: (insert passphrase)
    • If you encountered an error, bundle exec fastlane match nuke development may resolve it.
  7. flutter pub run build_runner build
  8. flutter build ios --no-codesign --simulator
    • If you want to run the app on a device, run flutter build ios --no-codesign
  9. open ios/Runner.xcworkspace and run the app
    • Alternatively, open -a Simulator and flutter run

Deployment/Release

Android

  1. Run flutter build apk --release in the project console to build an apk file.
  2. Upload the apk to google play, or Firebase app distribution depending on the need.

iOS

https://www.google.com

Getting Started

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Helpful to know

Typically, if there is a build error of some kind, run flutter clean then flutter pub get.

To generate the chopper and freeze files, run flutter pub run build_runner build --delete-conflicting-outputs in the terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •