Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 856 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 856 Bytes

How to use endpoint

In this example we use json-server to simulate the backend.

npm install -g json-server
json-server db.json

How to run this project

You need to create .env there's one sample to help you for more details check de package envify

flutter pub get
flutter pub run build_runner watch --delete-conflicting-outputs # run in diffent tab
flutter run --flavor dev # run in debug mode
flutter run --release --flavor prod # run in release mode

OBS: Sometimes it throws error in android because flutter need all flavors release build to run correctly.

Firebase configuration with different flavors

Check this settings link to implement firebase with different flavors