CircularProgressIndicator in _AccountTile (from accountConnectionStatusProvider) runs continuously and prevents pumpAndSettle() from ever settling on Android, causing frame-pump storms that drop the StreamBuilder data state and make tap(aliceTile) find 0 widgets. Overriding the provider to return immediately means no spinner ever enters the tree, so pumpUntil() can use pumpAndSettle() cleanly again. Also adds task run-android (boots sharedinbox_test AVD and runs flutter run). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
759 B
Bash
Executable File
13 lines
759 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Bash Strict Mode: https://github.com/guettli/bash-strict-mode
|
|
trap 'echo -e "\n🤷 🚨 🔥 Warning: A command has failed. Exiting the script. Line was ($0:$LINENO): $(sed -n "${LINENO}p" "$0" 2>/dev/null || true) 🔥 🚨 🤷 "; exit 3' ERR
|
|
set -Eeuo pipefail
|
|
|
|
: "${ANDROID_APK_SCP_HOST:?ANDROID_APK_SCP_HOST is not set (add it to .env)}"
|
|
: "${ANDROID_APK_SCP_USER:?ANDROID_APK_SCP_USER is not set (add it to .env)}"
|
|
: "${ANDROID_APK_SCP_PATH:?ANDROID_APK_SCP_PATH is not set (add it to .env)}"
|
|
|
|
scp -C build/app/outputs/flutter-apk/app-release.apk "${ANDROID_APK_SCP_USER}@${ANDROID_APK_SCP_HOST}:${ANDROID_APK_SCP_PATH}"
|
|
|
|
curl -d 'Deployed to https://thomas-guettler.de/si3.apk' https://ntfy.sh/ClaudeGuettliNotification265746942
|