games_app/prediqo_mobile
2026-07-27 17:26:22 +02:00
..
android To test the production for prediction issue 2026-07-25 22:48:54 +02:00
integration_test To test the production for prediction issue 2026-07-25 22:48:54 +02:00
ios first commit 2026-06-29 15:01:23 +02:00
lib Commit after correcting about error message 2026-07-27 09:29:50 +02:00
test To test the production for prediction issue 2026-07-25 22:48:54 +02:00
web first commit 2026-06-29 15:01:23 +02:00
.gitignore To test the production for prediction issue 2026-07-25 22:48:54 +02:00
.metadata To test the production for prediction issue 2026-07-25 22:48:54 +02:00
analysis_options.yaml first commit 2026-06-29 15:01:23 +02:00
dart_defines.dev.example.json To test the production for prediction issue 2026-07-25 22:48:54 +02:00
devtools_options.yaml first commit 2026-06-29 15:01:23 +02:00
pubspec.lock To test the production for prediction issue 2026-07-25 22:48:54 +02:00
pubspec.yaml To test the production for prediction issue 2026-07-25 22:48:54 +02:00
README.md After adding the additional prediction mode 2026-07-27 17:26:22 +02:00
TESTING.md After adding the additional prediction mode 2026-07-27 17:26:22 +02:00

Prediqo Mobile

API URL (compile-time)

API_BASE_URL is set via --dart-define / --dart-define-from-file.
Without it, the app defaults to http://10.0.2.2:9080 (Android emulator only).

  1. Copy dart_defines.dev.example.json → dart_defines.dev.json
  2. Set your API base, e.g. http://prediqo.redirectme.net:9080

Run

flutter run --dart-define-from-file=dart_defines.dev.json

Release APK

flutter build apk --release --dart-define-from-file=dart_defines.dev.json

Output: build/app/outputs/flutter-apk/app-release.apk

A plain flutter build apk --release will not include your VPS URL.