games_app/prediqo_mobile
2026-10-31 12:18:23 +02:00
..
android After adding the fonctionality for apk publish9 2026-10-31 12:18:23 +02:00
assets/brand After changing the icon1 2026-10-12 19:35:20 +02:00
integration_test After changing theapp name 2026-09-23 16:28:14 +02:00
ios After changing the icon1 2026-10-12 19:35:20 +02:00
lib After adding the fonctionality for apk publish9 2026-10-31 12:18:23 +02:00
test Starting to resolve the issue on prediction 2026-10-25 20:49:23 +02:00
web After changing the icon1 2026-10-12 19:35:20 +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
dart_defines.prod.example.json After adding the fonctionality for apk publish8 2026-10-31 09:31:01 +02:00
devtools_options.yaml first commit 2026-06-29 15:01:23 +02:00
pubspec.lock After adding the fonctionality for apk publish 2026-10-30 16:28:54 +02:00
pubspec.yaml After adding the fonctionality for apk publish9 2026-10-31 12:18:23 +02:00
README.md After adding the fonctionality for apk publish8 2026-10-31 09:31:01 +02:00
TESTING.md After adding the fonctionality for apk publish8 2026-10-31 09:31:01 +02:00

Tloto Mobile

API URL (compile-time)

API_BASE_URL is set via --dart-define / --dart-define-from-file.

Build Default without dart-define
Release (flutter build apk --release) http://prediqo.redirectme.net:9080
Debug / emulator http://10.0.2.2:9080

Local device / custom host

  1. Copy dart_defines.dev.example.json → dart_defines.dev.json
  2. Set your API base, e.g. http://prediqo.redirectme.net:9080 or http://<PC_LAN_IP>:9080
flutter run --dart-define-from-file=dart_defines.dev.json

Release APK (production)

# Uses built-in production default, or pin explicitly:
flutter build apk --release --dart-define-from-file=dart_defines.prod.example.json

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

An older APK built with only the emulator default (10.0.2.2) cannot reach the VPS — rebuild and reinstall.