Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 697 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 697 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
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