Stabilizza live YouTube/RTMP e fix crash rotazione mobile.
Pipeline YouTube con relay, overlay e publisher sync lato backend; fix GL pauseGlDuringRotation su Android per evitare crash in rotazione durante lo streaming Flutter. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
scripts/build_mobile_apk_prod.sh
Executable file
15
scripts/build_mobile_apk_prod.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# APK release per telefono → API produzione
|
||||
set -euo pipefail
|
||||
export PATH="${HOME}/flutter/bin:${PATH}"
|
||||
|
||||
API_BASE_URL="${API_BASE_URL:-https://www.matchlivetv.it}"
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
|
||||
cd "$ROOT/mobile"
|
||||
flutter pub get
|
||||
flutter build apk --release \
|
||||
--dart-define="API_BASE_URL=${API_BASE_URL}"
|
||||
|
||||
echo "APK: mobile/build/app/outputs/flutter-apk/app-release.apk"
|
||||
echo "API_BASE_URL=${API_BASE_URL}"
|
||||
Reference in New Issue
Block a user