app: further harden refresh logic and prefer local first (#506)

* app: further harden refresh logic and prefer local first

* address review comments

* cover missing unit test vectors
This commit is contained in:
l5y
2025-11-24 15:48:50 +01:00
committed by GitHub
parent 4946ea1751
commit 6f2db06f25
8 changed files with 382 additions and 88 deletions
+8
View File
@@ -34,11 +34,18 @@ jobs:
TAG_NAME: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v5
- name: Configure Android local.properties
run: |
cat > android/local.properties <<'EOF'
sdk.dir=${ANDROID_SDK_ROOT}
flutter.sdk=${FLUTTER_ROOT}
EOF
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: ${{ runner.os }}-flutter-${{ hashFiles('app/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
- name: Build release APK
@@ -72,6 +79,7 @@ jobs:
with:
channel: stable
cache: true
cache-key: ${{ runner.os }}-flutter-${{ hashFiles('app/pubspec.lock') }}
- name: Install dependencies
run: flutter pub get
- name: Build release IPA (no codesign)