Flutter + Firebase

License build Twitter Follow

Features + Plugins

Feature Description
Home Page Landing page, basic template example with floating action button
Light/Dark Mode Light and Dark themes
Profile Page Basic profile page
Plugin Description
firebase_analytics flutter pub add firebase_analytics
firebase_auth flutter pub add firebase_auth
firebase_core flutter pub add firebase_core
firebase_crashlytics flutter pub add firebase_crashlytics
firebase_performance flutter pub add firebase_performance
flutterfire_ui flutter pub add flutterfire_ui
url_strategy flutter pub add url_strategy

Setup

Flutter

rm pubspec.lock
rm ios/Podfile.lock
flutter upgrade
flutter pub get
flutter pub upgrade

Build All

flutter build apk --debug
flutter build ios --debug --no-codesign
flutter build web

Build the Android app

Debug

flutter build apk --debug

Release APK

flutter build apk --release --obfuscate --split-debug-info build/app/outputs/symbols-apk/ --target-platform android-arm64

Release Bundle

flutter build appbundle --release --obfuscate --split-debug-info build/app/outputs/symbols-appbundle --target-platform android-arm64

Build the iOS app

Debug

flutter build ios --debug --no-codesign

Release

flutter build ios --release --obfuscate --split-debug-info build/ios/outputs/symbols

Build the Web app

Debug/Release

flutter build web

Testing

Run unit tests with coverage

flutter test --coverage

Reports

Run analyzer

flutter analyze

Local Debug Run

rm -f ios/Podfile.lock && \
rm -f pubspec.lock && \
flutter clean && \
flutter upgrade && \
flutter pub get && \
flutter pub upgrade --major-versions && \

osv-scanner -r . && \

dart fix --dry-run && \
dart fix --apply && \
dart format . && \

flutter analyze && \

flutter build web && \
flutter build ios --debug --no-codesign && \
flutter build apk --debug

License

Copyright (C) 2022 Jared Burrows

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.