From 9c37c32035e1603ffe2468d1ffd54788f58cc470 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 07:31:32 -0800 Subject: [PATCH 01/21] test(collection): build standalone Android candidates for native flows Generate a fresh test-only native project, retain its APK identity and failure diagnostics, and enable emulator acceleration. Align SDK 58 patch dependencies required by the compatibility gate. Refs: LVT-217, LVT-262 --- .github/workflows/collection-native-tests.yml | 65 +- apps/collection/.gitignore | 2 + apps/collection/app.json | 3 +- apps/collection/package-lock.json | 575 +++++++++--------- apps/collection/package.json | 16 +- .../scripts/build-native-candidate.sh | 38 ++ .../collection/scripts/test-native-android.sh | 7 + .../scripts/test-native-candidate.sh | 3 + 8 files changed, 405 insertions(+), 304 deletions(-) create mode 100755 apps/collection/scripts/build-native-candidate.sh diff --git a/.github/workflows/collection-native-tests.yml b/.github/workflows/collection-native-tests.yml index 82bfb97e..e6b65fc2 100644 --- a/.github/workflows/collection-native-tests.yml +++ b/.github/workflows/collection-native-tests.yml @@ -4,20 +4,70 @@ on: inputs: candidate_run_id: description: GitHub Actions run containing a candidate APK built from this exact SHA - required: true + required: false artifact_name: description: Artifact containing one standalone APK with localhost HTTP enabled for the fixture API - required: true + required: false permissions: contents: read actions: read jobs: + validate: + runs-on: ubuntu-24.04 + steps: + - env: + RUN_ID: ${{ inputs.candidate_run_id }} + ARTIFACT: ${{ inputs.artifact_name }} + run: | + if [[ -n "$RUN_ID" || -n "$ARTIFACT" ]]; then + [[ "$RUN_ID" =~ ^[0-9]+$ ]] && test -n "$ARTIFACT" + fi + build: + needs: validate + if: inputs.candidate_run_id == '' && inputs.artifact_name == '' + runs-on: ubuntu-24.04 + timeout-minutes: 45 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24.6.0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + - run: npm ci + working-directory: apps/collection + - name: Build standalone synthetic candidate from a fresh native project + env: + LOVAT_DISPOSABLE_BUILD: "1" + run: bash apps/collection/scripts/build-native-candidate.sh + - uses: actions/upload-artifact@v4 + with: + name: collection-native-candidate-${{ github.sha }} + path: apps/collection/candidate/ + if-no-files-found: error + retention-days: 14 + - uses: actions/upload-artifact@v4 + if: always() + with: + name: collection-native-build-logs-${{ github.sha }} + path: apps/collection/.maestro/results/ + retention-days: 14 android: + needs: [validate, build] + if: ${{ always() && needs.validate.result == 'success' && (needs.build.result == 'success' || (needs.build.result == 'skipped' && inputs.candidate_run_id != '' && inputs.artifact_name != '')) }} runs-on: ubuntu-24.04 timeout-minutes: 30 steps: - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + if: inputs.candidate_run_id == '' + with: + name: collection-native-candidate-${{ github.sha }} + path: candidate - name: Verify candidate source revision + if: inputs.candidate_run_id != '' env: GH_TOKEN: ${{ github.token }} CANDIDATE_RUN_ID: ${{ inputs.candidate_run_id }} @@ -26,6 +76,7 @@ jobs: candidate_sha=$(gh api "repos/$GITHUB_REPOSITORY/actions/runs/$CANDIDATE_RUN_ID" --jq .head_sha) test "$candidate_sha" = "$GITHUB_SHA" - uses: actions/download-artifact@v4 + if: inputs.candidate_run_id != '' with: name: ${{ inputs.artifact_name }} run-id: ${{ inputs.candidate_run_id }} @@ -43,10 +94,20 @@ jobs: curl --fail --location https://github.com/mobile-dev-inc/maestro/releases/download/cli-2.12.1/maestro.zip -o /tmp/maestro.zip unzip -q /tmp/maestro.zip -d "$RUNNER_TEMP" echo "$RUNNER_TEMP/maestro/bin" >> "$GITHUB_PATH" + - name: Enable hardware acceleration + run: | + echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules + sudo udevadm control --reload-rules + sudo udevadm trigger --name-match=kvm + test -r /dev/kvm && test -w /dev/kvm - uses: reactivecircus/android-emulator-runner@v2 with: api-level: 35 arch: x86_64 + cores: 2 + ram-size: 2048M + disable-linux-hw-accel: false + emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-snapshot -camera-back none -accel on script: bash apps/collection/scripts/test-native-candidate.sh candidate - uses: actions/upload-artifact@v4 if: always() diff --git a/apps/collection/.gitignore b/apps/collection/.gitignore index 1dcf5730..0b24b03d 100644 --- a/apps/collection/.gitignore +++ b/apps/collection/.gitignore @@ -39,3 +39,5 @@ dependency-audit.json test-report/ .maestro/results/ + +/candidate/ diff --git a/apps/collection/app.json b/apps/collection/app.json index 3c9f184e..4633b453 100644 --- a/apps/collection/app.json +++ b/apps/collection/app.json @@ -62,7 +62,8 @@ "enableFullScreenImage_legacy": true } } - ] + ], + "expo-status-bar" ], "scheme": "lovat-collection" } diff --git a/apps/collection/package-lock.json b/apps/collection/package-lock.json index 7af56dbb..8313d820 100644 --- a/apps/collection/package-lock.json +++ b/apps/collection/package-lock.json @@ -15,19 +15,19 @@ "@react-native-menu/menu": "^2.0.0", "@react-native-picker/picker": "2.11.4", "@types/react": "~19.3.0", - "expo": "~58.0.23", + "expo": "~58.0.24", "expo-build-properties": "~58.0.12", "expo-constants": "~58.0.14", - "expo-dev-client": "~58.0.18", + "expo-dev-client": "~58.0.19", "expo-font": "~58.0.11", - "expo-haptics": "~58.0.7", - "expo-linear-gradient": "~58.0.3", - "expo-linking": "~58.0.16", + "expo-haptics": "~58.0.8", + "expo-linear-gradient": "~58.0.4", + "expo-linking": "~58.0.17", "expo-navigation-bar": "~58.0.4", - "expo-router": "~58.0.30", + "expo-router": "~58.0.31", "expo-screen-orientation": "~58.0.4", - "expo-splash-screen": "~58.0.13", - "expo-status-bar": "~58.0.4", + "expo-splash-screen": "~58.0.14", + "expo-status-bar": "~58.0.5", "javascript-time-ago": "^2.6.4", "jotai": "^3.0.1", "qrcode": "^1.5.4", @@ -145,13 +145,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.13.tgz", - "integrity": "sha512-T5FRo+RzVHvGjWOuF1Ljc44b+NXAOazodHkGUHp4I3zCkQ4/sNVJm56h1S278LMR0bY5xBhztGziSbli8zObIw==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.14.tgz", + "integrity": "sha512-qSY56jgW5JnSXzuekLVil6zaOQxOCtOHidr65KkaMBw772IuAY28Qx4ZykAcDn8+FRF15qk80XzKwgSc/RYW6g==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.29.13", - "@babel/types": "^7.29.11", + "@babel/parser": "^7.29.14", + "@babel/types": "^7.29.14", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -189,17 +189,17 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.29.12", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.12.tgz", - "integrity": "sha512-ACxGoWMV866q/QlZHeCOaQZAR5QclKsIvkAmlDemqjm6+6Bynijs1mH068BzH2N2e+wSuDmBWY87fqKfvhi1Lw==", + "version": "7.29.13", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.13.tgz", + "integrity": "sha512-fo8/Fr44/DMV71FQjk/HA0Npmu3bo5DFoWTCW1dhUR8Vx3NFfAVeEy0TbcBpt4e+hd2QhdmWgmspHo/9iWj8RA==", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.29.7", "@babel/helper-member-expression-to-functions": "^7.29.7", "@babel/helper-optimise-call-expression": "^7.29.7", "@babel/helper-replace-supers": "^7.29.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", - "@babel/traverse": "^7.29.12", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.13", + "@babel/traverse": "^7.29.13", "semver": "^6.3.1" }, "engines": { @@ -384,9 +384,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.11", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.11.tgz", - "integrity": "sha512-snZbO7MEDOof+hvNa97EjEY7qD7h2kwvQr5AJC3ZhQudKW5dnej6k3kP9NQV88hJwaS8vDqRLFo9rivLEhle2g==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.14.tgz", + "integrity": "sha512-CXvKMFvM80ihI7Vox9jb+kQjnyjESQNPM+vB7U0Zz6TWuZA+Z/FL0QPMH300h33qJtIx+REeBhXqWOPW48TcAQ==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -411,14 +411,14 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.7.tgz", - "integrity": "sha512-iES0Skag9ERIF68aXadpO6dbXa03mNWK3sEqJaMnLNs/eC3l0lkImdfoy6Y09/SfkpawdAB4RjQ7PVA7TcVGdw==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.14.tgz", + "integrity": "sha512-sBCQEL5D9MYOI5RvWpYtXJBeFLuGGI40hU7wW4WtDvuSZGi0zDV+cn8y9sJWD5rKpjZdsde0+oJniLbU2vdfIg==", "license": "MIT", "dependencies": { "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/traverse": "^7.29.14", + "@babel/types": "^7.29.14" }, "engines": { "node": ">=6.9.0" @@ -438,12 +438,12 @@ } }, "node_modules/@babel/parser": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.13.tgz", - "integrity": "sha512-fJM50YYjlTiBhgdkGmC1tBpv+FMAyo4annf2X6Aks+0yRlaiVkYW/3f07xAfVVkYIoZ9fFZp+mEThUFnuybhkQ==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.14.tgz", + "integrity": "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w==", "license": "MIT", "dependencies": { - "@babel/types": "^7.29.11" + "@babel/types": "^7.29.14" }, "bin": { "parser": "bin/babel-parser.js" @@ -857,12 +857,12 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.7.tgz", - "integrity": "sha512-kibJgmEdX2iMwsHY2tSZNDgj8PwIlCQz7FK9KuGKO8zsuoUwSEhoNnNVp/emKWrbY4HeO6kkXfdMqRKKKXBm2A==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.14.tgz", + "integrity": "sha512-4rr6WKSu9DzMYpcTlbjHw6hFRk0Gkys3D54mqNE4tOyYQFOTrf3RBhntYH62ec/fbvgGEVATh5cqGZjM2Yc3gw==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-create-class-features-plugin": "^7.29.13", "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { @@ -1308,17 +1308,17 @@ } }, "node_modules/@babel/traverse": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.13.tgz", - "integrity": "sha512-0ve0xMlFA73dgY1oyJRY6RoW+/bncdcOQqg6jjYcVfXBK90OdLXjm9R6lmRetdZVrPjXkKIoMVBqYFPjcAlZ4Q==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.14.tgz", + "integrity": "sha512-RAdQJrBgmIH1FWvN0X+1hoDxzMzlP4cv/1Zi4dn4tG1H0cTb+rw7CzUxQJhp1f4ANd8j5vH3fy8BAWFGkBDEsA==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.13", + "@babel/generator": "^7.29.14", "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.13", + "@babel/parser": "^7.29.14", "@babel/template": "^7.29.7", - "@babel/types": "^7.29.11", + "@babel/types": "^7.29.14", "debug": "^4.3.1" }, "engines": { @@ -1326,12 +1326,12 @@ } }, "node_modules/@babel/types": { - "version": "7.29.11", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.11.tgz", - "integrity": "sha512-WCsemW40Cpc6gouC1SrY6PBaZ+oLRlEVY9XBvZBI7il/HyUrb2nJ505wE1MHEFyDZNnrWDEuy4jL50WVHfTTSQ==", + "version": "7.29.14", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.14.tgz", + "integrity": "sha512-UjI/dKmwJwT9pOszJitq2G6EObZPnsZUfdCr92z2TlF3EZK9J3EdfOKUrCzHl6wFthbzwhzl1Soc/UIwxRiq6w==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.11", + "@babel/helper-string-parser": "^7.29.14", "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { @@ -1605,31 +1605,31 @@ } }, "node_modules/@expo/cli": { - "version": "58.1.19", - "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-58.1.19.tgz", - "integrity": "sha512-zoLhSlFnln0xn1fiW0+kb1J0lNv06HAy+FQ27HHwEEWoAClCE13FnTQBOW5bOVYc3c7hsGM8ypKcZGS7RGqjQA==", + "version": "58.1.20", + "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-58.1.20.tgz", + "integrity": "sha512-VXXcqGuXBngzItcP97ERWON3aHJOeAwDxuRlkxgbYfW9m9DpGHM6umGgjOPWWy14xSArUvwGZpg+D5Ms+hnnkg==", "license": "MIT", "dependencies": { "@expo/code-signing-certificates": "^0.0.7", - "@expo/config": "~58.0.11", - "@expo/config-plugins": "~58.0.12", + "@expo/config": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/devcert": "^1.2.2", - "@expo/env": "~2.5.4", - "@expo/image-utils": "^0.12.6", - "@expo/inline-modules": "^0.2.9", + "@expo/env": "~2.6.0", + "@expo/image-utils": "^0.12.7", + "@expo/inline-modules": "^0.2.10", "@expo/json-file": "^11.2.1", "@expo/log-box": "^58.0.15", "@expo/log-box-utils": "^58.0.2", "@expo/metro": "~58.0.0", - "@expo/metro-config": "58.0.21", - "@expo/metro-file-map": "^58.0.5", + "@expo/metro-config": "58.0.22", + "@expo/metro-file-map": "^58.0.6", "@expo/osascript": "^2.8.1", "@expo/package-manager": "^1.14.2", "@expo/platforms": "^58.0.1", - "@expo/plist": "^0.10.1", - "@expo/prebuild-config": "^58.0.19", - "@expo/require-utils": "^58.0.5", - "@expo/router-server": "^58.0.21", + "@expo/plist": "^0.10.2", + "@expo/prebuild-config": "^58.0.20", + "@expo/require-utils": "^58.0.6", + "@expo/router-server": "^58.0.22", "@expo/schema-utils": "^58.0.3", "@expo/spawn-async": "^1.8.0", "@expo/ws-tunnel": "^2.0.1", @@ -1648,10 +1648,8 @@ "compression": "^1.7.4", "connect": "^3.7.0", "dnssd-advertise": "^1.1.6", - "expo-server": "^58.0.6", + "expo-server": "^58.1.0", "fetch-nodeshim": "^0.4.10", - "getenv": "^2.0.0", - "glob": "^13.0.0", "lan-network": "^0.2.1", "multitars": "^1.0.2", "node-forge": "^1.4.0", @@ -1669,6 +1667,7 @@ "stacktrace-parser": "^0.1.10", "structured-headers": "^0.4.1", "terminal-link": "^2.1.1", + "tinyglobby": "^0.2.15", "toqr": "^0.1.1", "wrap-ansi": "^7.0.0", "ws": "^8.12.1" @@ -1719,36 +1718,34 @@ } }, "node_modules/@expo/config": { - "version": "58.0.11", - "resolved": "https://registry.npmjs.org/@expo/config/-/config-58.0.11.tgz", - "integrity": "sha512-qfJdK5GrT5LcwgkOx5OevR7rxrOwxcSsIFbgIK+IqaRqwCwnrjZCgG9awh0+tcpwOu+B90oDp0QorHzIb8YdUA==", + "version": "58.0.12", + "resolved": "https://registry.npmjs.org/@expo/config/-/config-58.0.12.tgz", + "integrity": "sha512-Ch/4Cb8womWYpY1zI4BEEYT1rGuKti8O8aSzyAM79xNTVRx6nPw2h9j91Knq95OSH3wtjrcthZwVYZ3po4igNg==", "license": "MIT", "dependencies": { - "@expo/config-plugins": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/config-types": "^58.0.3", "@expo/json-file": "^11.2.1", "@expo/platforms": "^58.0.1", - "@expo/require-utils": "^58.0.5", - "getenv": "^2.0.0", + "@expo/require-utils": "^58.0.6", "resolve-workspace-root": "^2.0.0", "semver": "^7.7.4", "slugify": "^1.3.4" } }, "node_modules/@expo/config-plugins": { - "version": "58.0.12", - "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-58.0.12.tgz", - "integrity": "sha512-nqnoPBARpKdKLY8+c+N2mizJgiWjlQGWeDhEOqMOZnQcpMmU79H1Svc9QOzcE1yX7obzw0Hf2YVlfW67g58Ucg==", + "version": "58.0.13", + "resolved": "https://registry.npmjs.org/@expo/config-plugins/-/config-plugins-58.0.13.tgz", + "integrity": "sha512-Vbkt0vpIJ9z+oCFr2simtfuiPxdpIovDgYnzenC9z7jX0rlo8nTLGQky+q+SJdovIbyymGAO45UR0YqwLgbvKw==", "license": "MIT", "dependencies": { "@expo/config-types": "^58.0.3", "@expo/json-file": "~11.2.1", - "@expo/plist": "^0.10.1", - "@expo/require-utils": "^58.0.5", + "@expo/plist": "^0.10.2", + "@expo/require-utils": "^58.0.6", "@expo/sdk-runtime-versions": "^1.0.1", "chalk": "^4.1.2", "debug": "^4.3.5", - "getenv": "^2.0.0", "semver": "^7.7.4", "slugify": "^1.6.6", "tinyglobby": "^0.2.15", @@ -1842,34 +1839,31 @@ } }, "node_modules/@expo/env": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.5.4.tgz", - "integrity": "sha512-CjzuExX8GegcNLpOw8BDO19RpzJBD1xCCMSfRL1eMfIGiwIJ9EBu0cE3jn3elk7rKvU5QqH15x72YLWTyxGL2g==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@expo/env/-/env-2.6.0.tgz", + "integrity": "sha512-pSNESQU0IGhLs/A3QlNPoh/acb1vWU7N721OjaIm3JT8yzgZymIM/m4x2y73YwpEtqgwWsCl6+japtq2PtXIPw==", "license": "MIT", "dependencies": { "chalk": "^4.0.0", - "debug": "^4.3.4", - "getenv": "^2.0.0" + "debug": "^4.3.4" }, "engines": { "node": ">=20.12.0" } }, "node_modules/@expo/fingerprint": { - "version": "0.21.9", - "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.21.9.tgz", - "integrity": "sha512-Z2xIFc/lvZZnDamAyd9uWUUctoT6uzAYOLAUqiZ2pT6mkDFistVsLd/5XCrD5/W3pUY65GLxmOal6+vyyzo0Dg==", + "version": "0.21.10", + "resolved": "https://registry.npmjs.org/@expo/fingerprint/-/fingerprint-0.21.10.tgz", + "integrity": "sha512-u73rWDHOYijO1wT60uKjtuoGBKsU9/MFSh7WEE63K2jJ0ML8eycUCXF9FmLf3EVzzIjYIPu6Ns04LR7FVGh6mA==", "license": "MIT", "dependencies": { - "@expo/env": "^2.5.4", + "@expo/env": "^2.6.0", "@expo/spawn-async": "^1.8.0", "arg": "^5.0.2", "chalk": "^4.1.2", "debug": "^4.3.4", - "getenv": "^2.0.0", - "glob": "^13.0.0", "ignore": "^5.3.1", - "minimatch": "^10.2.2", + "minimatch": "^10.2.6", "resolve-from": "^5.0.0", "semver": "^7.7.4" }, @@ -1887,9 +1881,9 @@ } }, "node_modules/@expo/fingerprint/node_modules/brace-expansion": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", - "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.13.tgz", + "integrity": "sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==", "license": "MIT", "dependencies": { "balanced-match": "^4.0.2" @@ -1926,15 +1920,14 @@ } }, "node_modules/@expo/image-utils": { - "version": "0.12.6", - "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.12.6.tgz", - "integrity": "sha512-AWzD/c3mM/a+sDbRgOSNzBpkUW8sUVUFcwnZ7xqkkhc5Hi9Fms0pDGw24JLxccgA6cC6bbJ8sZiQbnXBf75onA==", + "version": "0.12.7", + "resolved": "https://registry.npmjs.org/@expo/image-utils/-/image-utils-0.12.7.tgz", + "integrity": "sha512-fuiRQxvvkbj932BamtYh1UKuyRJ5tXBJ3XxpGm5pT4zzynPmygd3RtOQrzIhcsIZGcG6i1n+KvrszYRnk3evqQ==", "license": "MIT", "dependencies": { - "@expo/require-utils": "^58.0.5", + "@expo/require-utils": "^58.0.6", "@expo/spawn-async": "^1.8.0", "chalk": "^4.0.0", - "getenv": "^2.0.0", "jimp-compact": "0.16.1", "parse-png": "^2.1.0", "semver": "^7.7.4" @@ -1953,12 +1946,12 @@ } }, "node_modules/@expo/inline-modules": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@expo/inline-modules/-/inline-modules-0.2.9.tgz", - "integrity": "sha512-Ksrw66Urvj9YptFWmGYRP7w8PtDBEebhb11tkLgF5kUqDbJT1A07Sr2e8jvRVPLksn+Pkfb0eN2dnvnPh1CNnQ==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@expo/inline-modules/-/inline-modules-0.2.10.tgz", + "integrity": "sha512-WFqhlOrUUc0VZxrUPq5X328aP2e/cQKvJJXhwNxNj9fqWS9iFWC1E9VRHHhJIqdu+qy2YU3s2OBDlyIz9X/5aA==", "license": "MIT", "dependencies": { - "@expo/config-plugins": "~58.0.12" + "@expo/config-plugins": "~58.0.13" } }, "node_modules/@expo/json-file": { @@ -1972,12 +1965,12 @@ } }, "node_modules/@expo/local-build-cache-provider": { - "version": "58.0.11", - "resolved": "https://registry.npmjs.org/@expo/local-build-cache-provider/-/local-build-cache-provider-58.0.11.tgz", - "integrity": "sha512-mAMo/8WMU6tro+sLyDhNaUk0fq7TUOyiHyjLXtk2uo79p4lVmk+jPQMYL1DElAo0tXLkOyyv8DS+f6Ig0o96sg==", + "version": "58.0.12", + "resolved": "https://registry.npmjs.org/@expo/local-build-cache-provider/-/local-build-cache-provider-58.0.12.tgz", + "integrity": "sha512-2fpz4A+cf7YybeVx6lc/kulUpMLOv0OrlhdcvOpMCQG/9Wp5IBOZUgykSN86wmU5ZGJe4JeDJ4Soq5H3hfvzIw==", "license": "MIT", "dependencies": { - "@expo/config": "~58.0.11", + "@expo/config": "~58.0.12", "chalk": "^4.1.2" } }, @@ -2033,20 +2026,20 @@ } }, "node_modules/@expo/metro-config": { - "version": "58.0.21", - "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-58.0.21.tgz", - "integrity": "sha512-5GT5B1a1THgCa9ICyDDerP81WDNMKhtpt/W1aK98DGTlOIZAXEP85fzVTY/lJZtPJqSSZ0e//XbfYbGsjoJSjQ==", + "version": "58.0.22", + "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-58.0.22.tgz", + "integrity": "sha512-4sOL3FScET69+EBn8TvdnepcSI6B/mihzYIlLkDf5KfCcnBOpUwH6AhITp+WxE+BowtnCVlQd1vt5lF/nhBSAg==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", "@babel/core": "^7.20.0", "@babel/generator": "^7.20.5", - "@expo/config": "~58.0.11", - "@expo/env": "~2.5.4", + "@expo/config": "~58.0.12", + "@expo/env": "~2.6.0", "@expo/json-file": "~11.2.1", "@expo/metro": "~58.0.0", "@expo/platforms": "^58.0.1", - "@expo/require-utils": "^58.0.5", + "@expo/require-utils": "^58.0.6", "@expo/spawn-async": "^1.8.0", "@jridgewell/gen-mapping": "^0.3.13", "@jridgewell/remapping": "^2.3.5", @@ -2057,7 +2050,6 @@ "browserslist": "^4.25.0", "chalk": "^4.1.0", "debug": "^4.3.2", - "getenv": "^2.0.0", "hermes-parser": "^0.36.0", "jsc-safe-url": "^0.2.4", "lightningcss": "^1.30.1", @@ -2077,9 +2069,9 @@ } }, "node_modules/@expo/metro-file-map": { - "version": "58.0.5", - "resolved": "https://registry.npmjs.org/@expo/metro-file-map/-/metro-file-map-58.0.5.tgz", - "integrity": "sha512-Y2w8qKklLffZie28In4WF6f6e8nIJOhU0mZ5UaQdCiITVQm2a5teNdIDudEPkBsh8ItlvyHZt9n42PN2onRbkQ==", + "version": "58.0.6", + "resolved": "https://registry.npmjs.org/@expo/metro-file-map/-/metro-file-map-58.0.6.tgz", + "integrity": "sha512-+kPFI328BSUxpK7OO0kM31NQlYG/z7WOTISbPEuY4fMZxmN/nLnmJIDNG8NTtM5ZHXlNPqgjRvdukxtsBEkvuw==", "license": "MIT", "dependencies": { "2g": "^1.0.1", @@ -2458,9 +2450,9 @@ } }, "node_modules/@expo/modules-macros-linux-arm64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-arm64/-/modules-macros-linux-arm64-0.29.0.tgz", - "integrity": "sha512-wWT0DO/S7UluMJDPi+sPSKX516N//waiKg+qh2To1MYpDEAC6bm7tU6nzWskcXOAe8XYC5Dm/crVY5i8/2k/5A==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-arm64/-/modules-macros-linux-arm64-0.33.0.tgz", + "integrity": "sha512-5F4L/IJThOBq3oRo9NB5BI4+Od8K2YDTbU+2IHgsnXsrTc5icQtOlLwHOEfExghjo0PHCXGap4zprfOKvtANxw==", "cpu": [ "arm64" ], @@ -2471,9 +2463,9 @@ ] }, "node_modules/@expo/modules-macros-linux-x64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-x64/-/modules-macros-linux-x64-0.29.0.tgz", - "integrity": "sha512-ESYAz3/NZVdEiNyt1pRQ63Px05bZcgn5xHinX90kYTbuRXFxBXYIrjLH27wl8DfasYHP7hnbwUMLo3YLBe/2ag==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-linux-x64/-/modules-macros-linux-x64-0.33.0.tgz", + "integrity": "sha512-G3kxfmMpH7BDtoeBVeJA4vh5O3kQ3wmjmSfDremRBWENHKwHJXTOsyerLQqkJC39oPKCuXgXhzvp+/5qy+DyvA==", "cpu": [ "x64" ], @@ -2484,9 +2476,9 @@ ] }, "node_modules/@expo/modules-macros-win32-arm64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-arm64/-/modules-macros-win32-arm64-0.29.0.tgz", - "integrity": "sha512-IUZ8s2xg0iz7feY3apUyh6oX8CyPzCuZT3vvGXRfhziTyTDuwoWZx6G2bf9etbJkTQm/rUvX4h9rgtfk+TDptQ==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-arm64/-/modules-macros-win32-arm64-0.33.0.tgz", + "integrity": "sha512-sAYEhKqywo+38UcWt1KLNzJkSkpba4HYybSSZfpFsoA28/MCBupFZggkbU/E9z81fZeuiWVA2Ote1fp8ogqRAA==", "cpu": [ "arm64" ], @@ -2497,9 +2489,9 @@ ] }, "node_modules/@expo/modules-macros-win32-x64": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-x64/-/modules-macros-win32-x64-0.29.0.tgz", - "integrity": "sha512-qdJzIIB0oitXD3tErciv5zTxk4zkCNHuG5nnubJ3pFa9Y3VPd2/70lFwWmAjMWZUGwvBiePZhNVAuehdHaOcyQ==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@expo/modules-macros-win32-x64/-/modules-macros-win32-x64-0.33.0.tgz", + "integrity": "sha512-O7tmET8ehVpmocxpVUlXkV9yfKCNo3uKvpN7wNyWcJlEIM6xo+WZuN4RDtndExI6CE5wn8Io608US+BYtrE9+w==", "cpu": [ "x64" ], @@ -2734,30 +2726,29 @@ "license": "MIT" }, "node_modules/@expo/plist": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.10.1.tgz", - "integrity": "sha512-nuNOqj+r/hGJbZ1Ax3jUpZaOB8UAMHUrISALJEUKaCieTflYj7224EqFWmMpriCGk9wXS1gH+9GGVnSj0tWzuQ==", + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@expo/plist/-/plist-0.10.2.tgz", + "integrity": "sha512-kaCDdGLtezkt5s1w7iCaISNJ+RkNac/1yBYYE8XyXLSJu3czGHZKzJGQ8fFOrpEGm6GdlIHFpzVeiF01ZVyHyg==", "license": "MIT", "dependencies": { "@xmldom/xmldom": "^0.8.8", - "base64-js": "^1.5.1", "xmlbuilder": "^15.1.1" } }, "node_modules/@expo/prebuild-config": { - "version": "58.0.19", - "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-58.0.19.tgz", - "integrity": "sha512-hnXk/CsXOnKk4eRfA7Qh1JO793wRFzUfCJlu+5NpRwbpuMw6J+0LRRTRY2fIXOL+UefeTi6TD5EGXFKuJU9c4Q==", + "version": "58.0.20", + "resolved": "https://registry.npmjs.org/@expo/prebuild-config/-/prebuild-config-58.0.20.tgz", + "integrity": "sha512-lqXK5d6ni2MCNO/MbuXhojKC+Iy/gaYm0a3vVebwf/njoe1Fp3iw8mXDwoofmvlzZ3HO+beL7XCX6e6ZEYmVyg==", "license": "MIT", "dependencies": { - "@expo/config": "~58.0.11", - "@expo/config-plugins": "~58.0.12", + "@expo/config": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/config-types": "^58.0.3", - "@expo/image-utils": "^0.12.6", + "@expo/image-utils": "^0.12.7", "@expo/json-file": "^11.2.1", "@react-native/normalize-colors": "0.88.1", "debug": "^4.3.1", - "expo-modules-autolinking": "~58.0.17", + "expo-modules-autolinking": "~58.1.0", "resolve-from": "^5.0.0", "semver": "^7.7.4" } @@ -2775,9 +2766,9 @@ } }, "node_modules/@expo/require-utils": { - "version": "58.0.5", - "resolved": "https://registry.npmjs.org/@expo/require-utils/-/require-utils-58.0.5.tgz", - "integrity": "sha512-14dGubYUBmJjK9aqVSGnwSDs9uaxfzvtqJugtMCEWyuTa/eIvToUbzUwpKCSek6S/hYSEYcgds23vDJhXSBpbQ==", + "version": "58.0.6", + "resolved": "https://registry.npmjs.org/@expo/require-utils/-/require-utils-58.0.6.tgz", + "integrity": "sha512-k9Ce7indjY3+nRBNT6wKw7NghN7pP6WhFnYNjuDiAypwjtVgaZHpD9fo0/g3/emDUpM6ebl8Ekz/teyUGfD9og==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", @@ -2794,9 +2785,9 @@ } }, "node_modules/@expo/router-server": { - "version": "58.0.21", - "resolved": "https://registry.npmjs.org/@expo/router-server/-/router-server-58.0.21.tgz", - "integrity": "sha512-ll24bNIUllohdQ/dLz9ANvx3ZwFd+BN6RSWJ2Da1gxMQ6QHop2TNz6ShlMBy+j6o1H573kYHXWRB2PrFDH1LGQ==", + "version": "58.0.22", + "resolved": "https://registry.npmjs.org/@expo/router-server/-/router-server-58.0.22.tgz", + "integrity": "sha512-e2x3gZRLaGsoU4M6PNkPuHH6/XQolMb6gVlT6dtm1HAO0GYipvX0pVt6nBsf2xuRJU/0hEvRjpI+vLueZDvxoA==", "license": "MIT", "dependencies": { "debug": "^4.3.4" @@ -2804,10 +2795,10 @@ "peerDependencies": { "@expo/metro-runtime": "^58.0.17", "expo": "*", - "expo-constants": "^58.0.15", - "expo-font": "^58.0.11", + "expo-constants": "^58.0.16", + "expo-font": "^58.0.12", "expo-router": "*", - "expo-server": "^58.0.6", + "expo-server": "^58.1.0", "react": "*", "react-dom": "*", "react-server-dom-webpack": "~19.0.1 || ~19.1.2 || ~19.2.1 || ~19.3.0" @@ -4999,9 +4990,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-darwin-arm64": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-arm64/-/noxcturnal-darwin-arm64-0.1.11.tgz", - "integrity": "sha512-tqvZOVmSoiJzm7QjQ+whPxCP45J2C1zCAZnzc1HhwmJrFIWw/qyA8o9Cup0aVqnjNVAN+as9GHX+DbAmkCbGlQ==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-arm64/-/noxcturnal-darwin-arm64-0.1.12.tgz", + "integrity": "sha512-46MqSBhSPSL/LbY0ZhH2Zh+MJUOLWuwEuk6FQLFeJYFepENuNoWinZO/P7xX3dZQ3g2OrJiPE6iWKMBgoeF+gA==", "cpu": [ "arm64" ], @@ -5015,9 +5006,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-darwin-x64": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-x64/-/noxcturnal-darwin-x64-0.1.11.tgz", - "integrity": "sha512-V2HXkK5iKFBSc2GmeZE2I2wGxBc0kMQUHxxIUBSjuO8enKIby6cEQj8WW5EAuIli622Sqw1V7f0IIz8mXB4M9g==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-x64/-/noxcturnal-darwin-x64-0.1.12.tgz", + "integrity": "sha512-Neaz3ytiqwdWkgX8aSxnPVGO1ZmzalUEhWOCo2gWQC6DJAps6BjfjZwhdFtiWCOQ9iuukDkWnaKYZG4N1Ab6Bw==", "cpu": [ "x64" ], @@ -5031,9 +5022,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-arm64-gnu": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-gnu/-/noxcturnal-linux-arm64-gnu-0.1.11.tgz", - "integrity": "sha512-Vf9Qbke9Hq5ToFt88XicQN0FJJuepOnPKspcKDICeYYXS2b5wQnU7uhf33QWzr1KPQhn0L0IWUCwBNhMVn6E6w==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-gnu/-/noxcturnal-linux-arm64-gnu-0.1.12.tgz", + "integrity": "sha512-amvAnI2qoxJ/LQjFL1pMQHgym/C+SKPATPDcX6W4wcttBRIDh54PbEWKSaWeFoZ1EsqIF2O4SsDXxjImWGVQzw==", "cpu": [ "arm64" ], @@ -5047,9 +5038,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-arm64-musl": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-musl/-/noxcturnal-linux-arm64-musl-0.1.11.tgz", - "integrity": "sha512-HlwlrcfBE7JBiwWaq32R8eN4APJHQCDoQlapeK+t0wxY9s9YDMDtAnG+v7RrEz05nu7Aci21x/s8qIAA5jE+NA==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-musl/-/noxcturnal-linux-arm64-musl-0.1.12.tgz", + "integrity": "sha512-dTY6LRtSfhZRYRW7Kc4DwAoU8vM0NqopXWWV3RJ8aux8nJ19uhCtRbpEzjIjAT8jG6/Ds5FLEXFqJgVLf4fr2A==", "cpu": [ "arm64" ], @@ -5063,9 +5054,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-x64-gnu": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-gnu/-/noxcturnal-linux-x64-gnu-0.1.11.tgz", - "integrity": "sha512-kIzTkH4rEIn8vFl42lzfK8qmKaXMwHM7txbI+XkhYKjS+2WV08yslBpwHaPGtGLXPEfx+xUTUgY5K3KVET7HKw==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-gnu/-/noxcturnal-linux-x64-gnu-0.1.12.tgz", + "integrity": "sha512-v7PyVf9PgGRaFGq8DTilouKHIh/huXqfQOa9hIC7siseaxMzNX/HdweL9ZvXV7ZjkzUbbEZrg3YuIZ874PPYZA==", "cpu": [ "x64" ], @@ -5079,9 +5070,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-x64-musl": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-musl/-/noxcturnal-linux-x64-musl-0.1.11.tgz", - "integrity": "sha512-KpC0H+v+y/v0j4EmGiopzZ2OKo01JIBrHTjTi+veYAhZbpUfwZfShdTTHEj5OjdQ5VgaJU8yaBXmX48jgAACOg==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-musl/-/noxcturnal-linux-x64-musl-0.1.12.tgz", + "integrity": "sha512-7oWCdgQ2T1qjC05bz8IHzVRdg/yC+3SRZnDxc1xdY/vPKvrMUHJUB7oiKLHbLPtuMx8m5+lagm7RBQabUTBvxw==", "cpu": [ "x64" ], @@ -5095,9 +5086,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-win32-arm64-msvc": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-arm64-msvc/-/noxcturnal-win32-arm64-msvc-0.1.11.tgz", - "integrity": "sha512-Q0Q0ll/qPzakp/GBmVDB/XthqyCkfM2CE5gZ78t9Ix/bkZDe5O0G7OyNkXRsGu49VcorxoGbBgSyF6CK+OaYlQ==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-arm64-msvc/-/noxcturnal-win32-arm64-msvc-0.1.12.tgz", + "integrity": "sha512-Ma+0PV4nVdRXCYhgNontvuoAczRC11mbZ18LCaWY2aVTc76HjsQQEFPgXqRNlj2/Rjaax5EXUQqyLYYwI+ZB5A==", "cpu": [ "arm64" ], @@ -5111,9 +5102,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-win32-x64-msvc": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-x64-msvc/-/noxcturnal-win32-x64-msvc-0.1.11.tgz", - "integrity": "sha512-as4HUwZkQegCcGoFzaLzlZbBqdx8BGgFhAoQsTsdJCUbNTxVH0f3R/AcRLOUJ6odfko0E2SSuJc70FI0zQ/IDg==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-x64-msvc/-/noxcturnal-win32-x64-msvc-0.1.12.tgz", + "integrity": "sha512-6QcmxWocHLMfQKT5cy0+KbIYbCpaTd50MC/k6t7pQrfnKMKav5tdQi0lsx3WRrIE/5qUNepNx5iv9DjSJTXrGg==", "cpu": [ "x64" ], @@ -7652,9 +7643,9 @@ } }, "node_modules/babel-preset-expo": { - "version": "58.0.24", - "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-58.0.24.tgz", - "integrity": "sha512-weiIlSNOAs9q54nA2JLvXbFQW/8oUVUHiwHsfZaaZzZCBw8zoKz8hCjIYSCcixxQm+4vLzGKbsD1aF9pDwY3lQ==", + "version": "58.0.25", + "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-58.0.25.tgz", + "integrity": "sha512-uNRXWw2D6FU1hqye42XgbeUx110IxocpfwvV6QUdH7uuYMpqZPtP9Juzl7/HJdzrvrSGSRBBBPua7WlbtE1U7Q==", "license": "MIT", "dependencies": { "@babel/generator": "^7.20.5", @@ -7703,7 +7694,7 @@ "peerDependencies": { "@babel/runtime": "^7.20.0", "expo": "*", - "expo-widgets": "^58.0.27", + "expo-widgets": "^58.0.28", "react-refresh": ">=0.14.0 <1.0.0" }, "peerDependenciesMeta": { @@ -9493,33 +9484,33 @@ } }, "node_modules/expo": { - "version": "58.0.23", - "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.23.tgz", - "integrity": "sha512-FRpmfd1mdjWS9bRSMoZkwpF8ugbN+w6BDtNs+DYEio7rdSguTJ6fs/gaeWSeN60AJAbz80Uj36AMWtpHkShG0g==", + "version": "58.0.24", + "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.24.tgz", + "integrity": "sha512-EPgijeqjnK+eaoA9VzJvvodmKBxEcfNlRBxyZr5s1dmvjgF13p3HfEr6eRjsTtnXdz/GlKn2uffTM1uHZeaSVQ==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.0", - "@expo/cli": "^58.1.19", - "@expo/config": "~58.0.11", - "@expo/config-plugins": "~58.0.12", + "@expo/cli": "^58.1.20", + "@expo/config": "~58.0.12", + "@expo/config-plugins": "~58.0.13", "@expo/devtools": "~58.0.2", "@expo/dom-webview": "~58.0.2", - "@expo/fingerprint": "^0.21.9", - "@expo/local-build-cache-provider": "^58.0.11", + "@expo/fingerprint": "^0.21.10", + "@expo/local-build-cache-provider": "^58.0.12", "@expo/log-box": "^58.0.15", "@expo/log-box-utils": "^58.0.2", "@expo/metro": "~58.0.0", - "@expo/metro-config": "~58.0.21", + "@expo/metro-config": "~58.0.22", "@ungap/structured-clone": "^1.3.0", - "babel-preset-expo": "~58.0.24", - "expo-asset": "~58.0.20", - "expo-constants": "~58.0.15", + "babel-preset-expo": "~58.0.25", + "expo-asset": "~58.0.21", + "expo-constants": "~58.0.16", "expo-file-system": "~58.0.13", - "expo-font": "~58.0.11", - "expo-keep-awake": "~58.0.3", - "expo-modules-autolinking": "~58.0.17", - "expo-modules-cli": "~0.4.0", - "expo-modules-core": "~58.0.30", + "expo-font": "~58.0.12", + "expo-keep-awake": "~58.0.4", + "expo-modules-autolinking": "~58.1.0", + "expo-modules-cli": "~0.5.0", + "expo-modules-core": "~58.1.0", "pretty-format": "^29.7.0", "react-refresh": "^0.14.2", "whatwg-url-minimum": "^0.2.0" @@ -9561,13 +9552,13 @@ } }, "node_modules/expo-asset": { - "version": "58.0.20", - "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-58.0.20.tgz", - "integrity": "sha512-atirOtDsH0l+4zxnByf4WKc7Iw2k5e2bSNAkuu79d4SLOAjAROoDizeP0qNQSMyZNoHPArw7EwTpoc8LuWvg4Q==", + "version": "58.0.21", + "resolved": "https://registry.npmjs.org/expo-asset/-/expo-asset-58.0.21.tgz", + "integrity": "sha512-qaJmuTtswggXdBQfiUdpxrVGM7l+tH8iEDHwVDMuxyCF/kAau8sUGVuWrDKYNW4yAx7Z8ncgsT8s27pXjRH5GA==", "license": "MIT", "dependencies": { - "@expo/image-utils": "^0.12.6", - "expo-constants": "~58.0.15" + "@expo/image-utils": "^0.12.7", + "expo-constants": "~58.0.16" }, "peerDependencies": { "expo": "*", @@ -9602,13 +9593,13 @@ } }, "node_modules/expo-constants": { - "version": "58.0.15", - "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-58.0.15.tgz", - "integrity": "sha512-uokwzsYdjM/ZTEvQJCANhP4eJ4XGGR6keJy/Ac9HntLsQART8o+Y8nTVAXdMaRv6T5wuzJOliJmKUYJlDlamdg==", + "version": "58.0.16", + "resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-58.0.16.tgz", + "integrity": "sha512-sVETnE1ktBMclc2Ve3qNrHhOCCio75a9JdghnJYGbqblmKfrrfE+lO9K4g9kNtmslIBLTK9Dyty6PbubkXs3Yw==", "license": "MIT", "dependencies": { - "@expo/env": "~2.5.4", - "@expo/require-utils": "^58.0.5" + "@expo/env": "~2.6.0", + "@expo/require-utils": "^58.0.6" }, "peerDependencies": { "expo": "*", @@ -9616,14 +9607,14 @@ } }, "node_modules/expo-dev-client": { - "version": "58.0.18", - "resolved": "https://registry.npmjs.org/expo-dev-client/-/expo-dev-client-58.0.18.tgz", - "integrity": "sha512-1oTxhWiZAdFK1zXDWE047cjSw0S3xOATMso8fxXnjK9YvpaG1mGQpCMUVanXvXmiwmqDCHlVXW0myAKBSRzATQ==", + "version": "58.0.19", + "resolved": "https://registry.npmjs.org/expo-dev-client/-/expo-dev-client-58.0.19.tgz", + "integrity": "sha512-mtUFj8xq16uxbUUlUNb8FGCHYIcjCjCRXb1J2NTQKKUdLbRIdLIMEvX49pg4a/Tnwcy+qQTn4qI8ZLRe0AZBuQ==", "license": "MIT", "dependencies": { - "expo-dev-launcher": "~58.0.18", - "expo-dev-menu": "~58.0.12", - "expo-dev-menu-interface": "~58.0.1", + "expo-dev-launcher": "~58.0.19", + "expo-dev-menu": "~58.0.13", + "expo-dev-menu-interface": "~58.0.2", "expo-manifests": "~58.0.1", "expo-updates-interface": "~58.0.1" }, @@ -9632,13 +9623,13 @@ } }, "node_modules/expo-dev-launcher": { - "version": "58.0.18", - "resolved": "https://registry.npmjs.org/expo-dev-launcher/-/expo-dev-launcher-58.0.18.tgz", - "integrity": "sha512-WjcuYTGn86bwz0qCpPgi/EXHfo9Pj/Z3ynHTaX5h9yaOhe+3p20bm50XVrDIOC+GAbuke8LK8bglVkpkQrIOrg==", + "version": "58.0.19", + "resolved": "https://registry.npmjs.org/expo-dev-launcher/-/expo-dev-launcher-58.0.19.tgz", + "integrity": "sha512-TCjhLzRvOK3LPXAHwuyMV6zm03D53k2V4pqJxGG/tpo5CJglJOAX3NHwgge/RRahMCFij5C1kuCdAbf/eW7Rbw==", "license": "MIT", "dependencies": { "@expo/schema-utils": "^58.0.3", - "expo-dev-menu": "~58.0.12", + "expo-dev-menu": "~58.0.13", "expo-manifests": "~58.0.1" }, "peerDependencies": { @@ -9647,12 +9638,12 @@ } }, "node_modules/expo-dev-menu": { - "version": "58.0.12", - "resolved": "https://registry.npmjs.org/expo-dev-menu/-/expo-dev-menu-58.0.12.tgz", - "integrity": "sha512-TahJsEFlYEGXLXt3SY10VkhImSHtT2Xa14eAujtmM3NefCMGqgEYj0xTqcg8O2RB4ZrGameYslnR4GkkSxPASQ==", + "version": "58.0.13", + "resolved": "https://registry.npmjs.org/expo-dev-menu/-/expo-dev-menu-58.0.13.tgz", + "integrity": "sha512-7p1wBpNV8g7hV7GGj8/sllwQi07jJDneZDKZuGpjNL8MIYn7FfjnZbiJIVtP8vZZfb7WHKJFykCbAQCHIM36DQ==", "license": "MIT", "dependencies": { - "expo-dev-menu-interface": "~58.0.1" + "expo-dev-menu-interface": "~58.0.2" }, "peerDependencies": { "expo": "*", @@ -9660,9 +9651,9 @@ } }, "node_modules/expo-dev-menu-interface": { - "version": "58.0.1", - "resolved": "https://registry.npmjs.org/expo-dev-menu-interface/-/expo-dev-menu-interface-58.0.1.tgz", - "integrity": "sha512-XdjO3ZZhEq1dXm15GVtzQ0SXxSTPguJIDZib3Z8tAf2jLxfPUlQObgO/0hdnw7ssEBhTT2jQo2HAfnOSGUfj8w==", + "version": "58.0.2", + "resolved": "https://registry.npmjs.org/expo-dev-menu-interface/-/expo-dev-menu-interface-58.0.2.tgz", + "integrity": "sha512-9InDNbxNWz4cQN7dsvD2+GBd4IFfsnfkWJHMHxwpoa8U3crHxc6oeV5VV4Zgg8uC2IdNjWmhNqtgC2Vdnq/JVg==", "license": "MIT", "peerDependencies": { "expo": "*" @@ -9679,9 +9670,9 @@ } }, "node_modules/expo-font": { - "version": "58.0.11", - "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-58.0.11.tgz", - "integrity": "sha512-6r7s6xk2L2orvum+x+TY1fzEcMtuCBRQTLgC/Su2uLzNPpT4L+E+S4IAGy8ZIjeVvwk2j2pj+HiZ23O7eh1PGQ==", + "version": "58.0.12", + "resolved": "https://registry.npmjs.org/expo-font/-/expo-font-58.0.12.tgz", + "integrity": "sha512-5m8TJrQ27DT1815P066HBtcHINgD8yuIqH4ca2ZyYwCsPa4QZ8UzOBDtrHnAMWMAlAgol+PGVj9aKeoYov70JA==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -9701,9 +9692,9 @@ } }, "node_modules/expo-haptics": { - "version": "58.0.7", - "resolved": "https://registry.npmjs.org/expo-haptics/-/expo-haptics-58.0.7.tgz", - "integrity": "sha512-mAY3rbng6EuYysq9wnJKhKwYYlDjqnPYcS5OXe3zj4TlAaOFMl/EfiSOuAMawc2nsXCAnwJ5U0E11nq5zQO0mg==", + "version": "58.0.8", + "resolved": "https://registry.npmjs.org/expo-haptics/-/expo-haptics-58.0.8.tgz", + "integrity": "sha512-hxW9LoJQhAJ4hRlGx0DZ10ncs2NFqC/0nfKSnGy1PcpH6e8dJ4/oJO9eOcAG/vFg8k5oonbZkWL7RK9G3729Tg==", "license": "MIT", "peerDependencies": { "expo": "*" @@ -9716,9 +9707,9 @@ "license": "MIT" }, "node_modules/expo-keep-awake": { - "version": "58.0.3", - "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-58.0.3.tgz", - "integrity": "sha512-wLRF+XeVsD/Rt/ZyX+A0mk1brdf8vefWizNAPzqV5eOCgkj23LCRZdN8gUi5X8UwyR8UJ7Y7Dzdz4YDGB/4c9Q==", + "version": "58.0.4", + "resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-58.0.4.tgz", + "integrity": "sha512-zXJJRBwMpWl2Q2Aj9rksMe1ncz6aphOPqYnG3rTkCFALZiM22xQCqpQqBloDcQ6g4RdGTy++lRnsDX7MWpK1qw==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -9726,9 +9717,9 @@ } }, "node_modules/expo-linear-gradient": { - "version": "58.0.3", - "resolved": "https://registry.npmjs.org/expo-linear-gradient/-/expo-linear-gradient-58.0.3.tgz", - "integrity": "sha512-sh6LXrlaCtlDlZ1CPPFRJWd3bl9lAr8e0hT61PvzMmkxd5sd3POe9QuWtct58wpp7PgOH2okB3iw4tq3ICA4Sg==", + "version": "58.0.4", + "resolved": "https://registry.npmjs.org/expo-linear-gradient/-/expo-linear-gradient-58.0.4.tgz", + "integrity": "sha512-Zn6SilYGJPZ7jPZTksTS5i6Se7/rGjSurCEVFXLBAY+smdcLmbeiy8YV+svZDpAW0N2pFBi8LlgFzHTVshuRfg==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -9737,12 +9728,12 @@ } }, "node_modules/expo-linking": { - "version": "58.0.16", - "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-58.0.16.tgz", - "integrity": "sha512-yGz7w4nySktoOba7fS08DzzQXfEgLd60248Sz3u4m/Vzi8SKhC5xBXWmP4scGh0Ele89I350k/uvo2moVmmZJw==", + "version": "58.0.17", + "resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-58.0.17.tgz", + "integrity": "sha512-NFOt1L+FdW1uwjnwvvW+1oZ8j0W1IpYydKKuqny7tCiDVmHLxDYiYgXbyuHNAMLdQYjCBknq4910DmTM1x/XGw==", "license": "MIT", "dependencies": { - "expo-constants": "~58.0.15", + "expo-constants": "~58.0.16", "invariant": "^2.2.4" }, "peerDependencies": { @@ -9764,13 +9755,13 @@ } }, "node_modules/expo-modules-autolinking": { - "version": "58.0.17", - "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-58.0.17.tgz", - "integrity": "sha512-mZRVuUCOsYK4+n9U8972bQBqXn21ncMd9BBx0/iepKH49tdMB8ADj3O9bb+huA80XckyorFLVfi6nJcImYtUyg==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-58.1.0.tgz", + "integrity": "sha512-JAegkS+nC4LVEgKMHAnpWhUxs1BYHHaTJnncVW2EQION1bVz0y8/wEglAeGV+oq4BNS1V7s8zCMTZU0hMi28bA==", "license": "MIT", "dependencies": { "@expo/platforms": "^58.0.1", - "@expo/require-utils": "^58.0.5", + "@expo/require-utils": "^58.0.6", "@expo/spawn-async": "^1.8.0", "chalk": "^4.1.0", "commander": "^7.2.0" @@ -9780,9 +9771,9 @@ } }, "node_modules/expo-modules-cli": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/expo-modules-cli/-/expo-modules-cli-0.4.0.tgz", - "integrity": "sha512-NuvnnEFL+UMuQSjykg5ZhV0oxkOww8exJbZh+75pFF7DJhE3kQtfnOd4Yq4G6PrkVnqbeuKsqf6zX8V9p65ZYw==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/expo-modules-cli/-/expo-modules-cli-0.5.0.tgz", + "integrity": "sha512-uBNKkp5NIMo2bmJiQL36EBLNMeX+2GEIxpz10BioT0EGQTsPcgrV0ypfGy31GtPoFOObyc9ibHhklsOtpzhblw==", "license": "MIT", "dependencies": { "@babel/parser": "^7.20.0", @@ -9796,13 +9787,13 @@ } }, "node_modules/expo-modules-core": { - "version": "58.0.30", - "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-58.0.30.tgz", - "integrity": "sha512-uIyFJHouaiHwIoDjWSjb1Zg5LMGmkUs7CEp0rzpXvC+SStP/sr+dcjclUYD1ImmngMYuxRcs9soHEuWbcZWr/w==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-modules-core/-/expo-modules-core-58.1.0.tgz", + "integrity": "sha512-eXHOPyxHkDyTxUWnKEatC+Hx4tLoPWCPd5pCynAU4WkaBvAG/l5t/wu5jXiE5eh2CRr2NU4iAQePX2zUfNEVhA==", "license": "MIT", "dependencies": { - "expo-modules-jsi": "~58.0.22", - "expo-modules-macros": "0.29.0", + "expo-modules-jsi": "~58.0.23", + "expo-modules-macros": "0.33.0", "invariant": "^2.2.4" }, "peerDependencies": { @@ -9817,24 +9808,24 @@ } }, "node_modules/expo-modules-jsi": { - "version": "58.0.22", - "resolved": "https://registry.npmjs.org/expo-modules-jsi/-/expo-modules-jsi-58.0.22.tgz", - "integrity": "sha512-sWyOUEsRHZdobItrerWxVR32uiABSijoVJGoIW1dubfZuNNaRG+Hgis4u+92Gle1gEdH2Z4qKqm0JxSZCzk9AA==", + "version": "58.0.23", + "resolved": "https://registry.npmjs.org/expo-modules-jsi/-/expo-modules-jsi-58.0.23.tgz", + "integrity": "sha512-ex3CnT8KLubsPjUG0RpEL5VgmpnWxf7Ouc+WXEr8jEbIwqcULEWtA2tfhGZwjg6jS3zeNwjygF1w8QSstP7JfQ==", "license": "MIT", "peerDependencies": { "react-native": "*" } }, "node_modules/expo-modules-macros": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/expo-modules-macros/-/expo-modules-macros-0.29.0.tgz", - "integrity": "sha512-kpkJHrFnHMXfUfvFkDuKRXXqi+CUIIhJ6G8v/4rC09VjmXcdQ30imoY1oNDVEho6tPbJFV0Ux21sZ9wK0XYajQ==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/expo-modules-macros/-/expo-modules-macros-0.33.0.tgz", + "integrity": "sha512-ddrT2jbYPYmiHmzcYOixRemFUUK9qQEb5pOBWgoFoW0gj3sGld1CZX0GwblUXeZMyEX65S9vc1bEhIAGVDRA9w==", "license": "MIT", "optionalDependencies": { - "@expo/modules-macros-linux-arm64": "0.29.0", - "@expo/modules-macros-linux-x64": "0.29.0", - "@expo/modules-macros-win32-arm64": "0.29.0", - "@expo/modules-macros-win32-x64": "0.29.0" + "@expo/modules-macros-linux-arm64": "0.33.0", + "@expo/modules-macros-linux-x64": "0.33.0", + "@expo/modules-macros-win32-arm64": "0.33.0", + "@expo/modules-macros-win32-x64": "0.33.0" } }, "node_modules/expo-navigation-bar": { @@ -9852,9 +9843,9 @@ } }, "node_modules/expo-router": { - "version": "58.0.30", - "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-58.0.30.tgz", - "integrity": "sha512-GzwSjiDCJeSHDiH71jeCsncMCEksRyDhGweNcVjGfW5C7JMYtROUroMBudPGtrOpKkHUQ0lampFsb8jidT4lbg==", + "version": "58.0.31", + "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-58.0.31.tgz", + "integrity": "sha512-ERucCp882Yo3wDUZ/MKwW22UF5MtQxDFIQzWWnFXlqe9gfOnWN/smBcNNhQiVW5je3nX5OOd4o5RlTCojvCIrA==", "license": "MIT", "dependencies": { "@expo/log-box": "^58.0.15", @@ -9866,8 +9857,8 @@ "@react-native/normalize-colors": "0.88.1", "client-only": "^0.0.1", "expo-glass-effect": "^58.0.5", - "expo-server": "^58.0.6", - "expo-status-bar": "^58.0.4", + "expo-server": "^58.1.0", + "expo-status-bar": "^58.0.5", "nanoid": "^3.3.18", "react-fast-compare": "^3.2.2", "react-is": "^19.1.0", @@ -9880,12 +9871,12 @@ "peerDependencies": { "@expo/log-box": "^58.0.15", "@expo/metro-runtime": "^58.0.17", - "@expo/ui": "^58.0.27", + "@expo/ui": "^58.0.28", "@testing-library/react-native": ">= 14.0.0", "expo": "*", - "expo-constants": "^58.0.15", - "expo-linking": "^58.0.16", - "expo-symbols": "^58.0.4", + "expo-constants": "^58.0.16", + "expo-linking": "^58.0.17", + "expo-symbols": "^58.0.5", "react": "*", "react-dom": "*", "react-native": "*", @@ -9938,22 +9929,22 @@ } }, "node_modules/expo-server": { - "version": "58.0.6", - "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-58.0.6.tgz", - "integrity": "sha512-6DBlSZwxk3J0y1j2s4XebAWNiwGaMp32NcWX7b2kJC2+EFf1g+pCcVmx8ylawt2tyLmbDHswm4MHOfrd4bqfvA==", + "version": "58.1.0", + "resolved": "https://registry.npmjs.org/expo-server/-/expo-server-58.1.0.tgz", + "integrity": "sha512-jo7I6uHnP5OQYKx3+7lbpdVVnOEwFj2ryDkQdauUQSwgh2HuMUkiFXWUIVe01ts6DLRoff5U0Tv+uNb3CMq/kw==", "license": "MIT", "engines": { "node": "^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0" } }, "node_modules/expo-splash-screen": { - "version": "58.0.13", - "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-58.0.13.tgz", - "integrity": "sha512-RsvDF13tU1wQIy2blzmdbZoWpPWNTYks2A0CUq2AENR7i7u8elSSEfQOdh5TeC0lrrFVbiWfPj2JiM7y/m08Ig==", + "version": "58.0.14", + "resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-58.0.14.tgz", + "integrity": "sha512-Z05ihk8LoBX3GeUd1EiV8yG9hd1Pw9wa5AaiAFQx4c81laMVo0LX6x+0o5fXFKnBA9VjlMe5CYWQqUtZf3BCIw==", "license": "MIT", "dependencies": { - "@expo/config-plugins": "~58.0.12", - "@expo/image-utils": "^0.12.6", + "@expo/config-plugins": "~58.0.13", + "@expo/image-utils": "^0.12.7", "xml2js": "0.6.0" }, "peerDependencies": { @@ -9961,9 +9952,9 @@ } }, "node_modules/expo-status-bar": { - "version": "58.0.4", - "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-58.0.4.tgz", - "integrity": "sha512-e6JJHziSSNb1v1VSzmDrAPf6GFoPRdVOIDrTCcK3bHfbJEAZGZ3YZXfqlorZtUFDT0z6NcjaZf0mPWifJZcqew==", + "version": "58.0.5", + "resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-58.0.5.tgz", + "integrity": "sha512-Lq1h7QpNY2FY7+Dyrn15atrFZs1Yd4IfMfhwyyWb3TqWc+vwtYZH54W9VhhjqXtgitXe+RVAX7YZoCekjbLmug==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -10433,19 +10424,11 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/getenv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/getenv/-/getenv-2.0.0.tgz", - "integrity": "sha512-VilgtJj/ALgGY77fiLam5iD336eSWi96Q15JSAG1zi8NRBysm3LXKdGnHb4m5cuyxvOLQQKWpBZAT6ni4FI2iQ==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/glob": { "version": "13.0.6", "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "minimatch": "^10.2.2", @@ -10476,6 +10459,7 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, "license": "MIT", "engines": { "node": "18 || 20 || >=22" @@ -10485,6 +10469,7 @@ "version": "5.0.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^4.0.2" @@ -10497,6 +10482,7 @@ "version": "10.2.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "brace-expansion": "^5.0.8" @@ -17053,6 +17039,7 @@ "version": "7.1.3", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": ">=16 || 14 >=14.17" @@ -17217,9 +17204,9 @@ } }, "node_modules/noxcturnal": { - "version": "0.1.11", - "resolved": "https://registry.npmjs.org/noxcturnal/-/noxcturnal-0.1.11.tgz", - "integrity": "sha512-nKgZ4mQpWz5Nry5KRqRcyCv37Uc24VH9UkNsIJJ58sC7ubyXtaiP4zfjOAsGiTVZIJ6rcfkmbYS0P4plVhdHEQ==", + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/noxcturnal/-/noxcturnal-0.1.12.tgz", + "integrity": "sha512-trkrCAq5t1ynqEbGdHGbGo1ItUye1uelApLhmU0/asW5NrfBRsMQDXBOpUTIfpcX7SdAvVjii7cEPIrfIrEVgg==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", @@ -17229,14 +17216,14 @@ "node": ">=18" }, "optionalDependencies": { - "@noxcturnal/noxcturnal-darwin-arm64": "0.1.11", - "@noxcturnal/noxcturnal-darwin-x64": "0.1.11", - "@noxcturnal/noxcturnal-linux-arm64-gnu": "0.1.11", - "@noxcturnal/noxcturnal-linux-arm64-musl": "0.1.11", - "@noxcturnal/noxcturnal-linux-x64-gnu": "0.1.11", - "@noxcturnal/noxcturnal-linux-x64-musl": "0.1.11", - "@noxcturnal/noxcturnal-win32-arm64-msvc": "0.1.11", - "@noxcturnal/noxcturnal-win32-x64-msvc": "0.1.11" + "@noxcturnal/noxcturnal-darwin-arm64": "0.1.12", + "@noxcturnal/noxcturnal-darwin-x64": "0.1.12", + "@noxcturnal/noxcturnal-linux-arm64-gnu": "0.1.12", + "@noxcturnal/noxcturnal-linux-arm64-musl": "0.1.12", + "@noxcturnal/noxcturnal-linux-x64-gnu": "0.1.12", + "@noxcturnal/noxcturnal-linux-x64-musl": "0.1.12", + "@noxcturnal/noxcturnal-win32-arm64-msvc": "0.1.12", + "@noxcturnal/noxcturnal-win32-x64-msvc": "0.1.12" } }, "node_modules/npm-package-arg": { @@ -17865,6 +17852,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", + "dev": true, "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^11.0.0", @@ -17881,6 +17869,7 @@ "version": "11.2.6", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.6.tgz", "integrity": "sha512-ESL2CrkS/2wTPfuend7Zhkzo2u0daGJ/A2VucJOgQ/C48S/zB8MMeMHSGKYpXhIjbPxfuezITkaBH1wqv00DDQ==", + "dev": true, "license": "BlueOak-1.0.0", "engines": { "node": "20 || >=22" diff --git a/apps/collection/package.json b/apps/collection/package.json index 2c7cd8ea..ef05307a 100644 --- a/apps/collection/package.json +++ b/apps/collection/package.json @@ -38,19 +38,19 @@ "@react-native-menu/menu": "^2.0.0", "@react-native-picker/picker": "2.11.4", "@types/react": "~19.3.0", - "expo": "~58.0.23", + "expo": "~58.0.24", "expo-build-properties": "~58.0.12", "expo-constants": "~58.0.14", - "expo-dev-client": "~58.0.18", + "expo-dev-client": "~58.0.19", "expo-font": "~58.0.11", - "expo-haptics": "~58.0.7", - "expo-linear-gradient": "~58.0.3", - "expo-linking": "~58.0.16", + "expo-haptics": "~58.0.8", + "expo-linear-gradient": "~58.0.4", + "expo-linking": "~58.0.17", "expo-navigation-bar": "~58.0.4", - "expo-router": "~58.0.30", + "expo-router": "~58.0.31", "expo-screen-orientation": "~58.0.4", - "expo-splash-screen": "~58.0.13", - "expo-status-bar": "~58.0.4", + "expo-splash-screen": "~58.0.14", + "expo-status-bar": "~58.0.5", "javascript-time-ago": "^2.6.4", "jotai": "^3.0.1", "qrcode": "^1.5.4", diff --git a/apps/collection/scripts/build-native-candidate.sh b/apps/collection/scripts/build-native-candidate.sh new file mode 100755 index 00000000..bf24e0eb --- /dev/null +++ b/apps/collection/scripts/build-native-candidate.sh @@ -0,0 +1,38 @@ +#!/usr/bin/env bash +set -euo pipefail +cd "$(dirname "$0")/.." +# This creates generated native projects; use a fresh disposable checkout only. +test "${LOVAT_DISPOSABLE_BUILD:-}" = 1 +test ! -e android +export CI=1 EXPO_NO_DOTENV=1 EXPO_PUBLIC_API_URL=http://127.0.0.1:9877 +mkdir -p .maestro/results candidate +npx expo prebuild --platform android --no-install +# Test-only loopback access, applied to generated files, never app.json or EAS. +python3 - <<'PY' +from pathlib import Path +import xml.etree.ElementTree as ET +ns = 'http://schemas.android.com/apk/res/android' +ET.register_namespace('android', ns) +p = Path('android/app/src/main/AndroidManifest.xml') +tree = ET.parse(p) +app = tree.getroot().find('application') +app.set(f'{{{ns}}}networkSecurityConfig', '@xml/native_test_network_security') +app.set(f'{{{ns}}}usesCleartextTraffic', 'false') +tree.write(p, encoding='utf-8', xml_declaration=True) +p = Path('android/app/src/main/res/xml/native_test_network_security.xml') +p.parent.mkdir(parents=True, exist_ok=True) +p.write_text(''' + + + 127.0.0.1localhost + + +''') +PY +(cd android && ./gradlew :app:assembleRelease -PreactNativeArchitectures=x86_64 --no-daemon --stacktrace) 2>&1 | tee .maestro/results/build.log +cp android/app/build/outputs/apk/release/app-release.apk candidate/collection-native-test.apk +# A standalone bundle is required: a Metro-dependent development client cannot pass. +unzip -l candidate/collection-native-test.apk | grep 'assets/index.android.bundle' +git rev-parse HEAD > candidate/source-sha.txt +node -p 'JSON.stringify(require("./app.json").expo)' > candidate/app-config.json +sha256sum candidate/collection-native-test.apk > candidate/apk.sha256 diff --git a/apps/collection/scripts/test-native-android.sh b/apps/collection/scripts/test-native-android.sh index a06d6652..4f5aa4b9 100644 --- a/apps/collection/scripts/test-native-android.sh +++ b/apps/collection/scripts/test-native-android.sh @@ -4,8 +4,15 @@ cd "$(dirname "$0")/.." mkdir -p .maestro/results fixture_pid="" cleanup() { + result=$? + trap - EXIT + printf '%s\n' "$result" > .maestro/results/exit-code.txt + adb logcat -d > .maestro/results/logcat.txt 2>&1 || true + adb shell getprop > .maestro/results/device.txt 2>&1 || true + adb exec-out screencap -p > .maestro/results/screenshot.png 2>/dev/null || true adb shell cmd connectivity airplane-mode disable || true if [[ -n "$fixture_pid" ]]; then kill "$fixture_pid" 2>/dev/null || true; fi + exit "$result" } trap cleanup EXIT start_fixture() { diff --git a/apps/collection/scripts/test-native-candidate.sh b/apps/collection/scripts/test-native-candidate.sh index d1bddb56..443de030 100644 --- a/apps/collection/scripts/test-native-candidate.sh +++ b/apps/collection/scripts/test-native-candidate.sh @@ -3,5 +3,8 @@ set -euo pipefail candidate=$(find "${1:?Candidate artifact directory required}" -name '*.apk' -type f) test -n "$candidate" test "$(printf '%s\n' "$candidate" | wc -l)" -eq 1 +mkdir -p "$(dirname "$0")/../.maestro/results" +shasum -a 256 "$candidate" > "$(dirname "$0")/../.maestro/results/test-apk.sha256" +git rev-parse HEAD > "$(dirname "$0")/../.maestro/results/source-sha.txt" adb install "$candidate" bash "$(dirname "$0")/test-native-android.sh" From f24816dd4be3de69ab902f061a03ed8917c14232 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 07:32:30 -0800 Subject: [PATCH 02/21] docs(collection): prepare owner-assigned mobile release checks Record exact signed candidate identity and separate pending Android, iOS and receiving Dashboard camera/QR evidence. Refs: LVT-262 --- apps/collection/README.md | 8 +- apps/collection/docs/manual-release-checks.md | 75 +++++++++++++++++++ 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 apps/collection/docs/manual-release-checks.md diff --git a/apps/collection/README.md b/apps/collection/README.md index d1146cde..1d9ef9da 100644 --- a/apps/collection/README.md +++ b/apps/collection/README.md @@ -106,6 +106,12 @@ Tests execute real Zustand stores, AsyncStorage persistence, report serializatio `.maestro/` provides installed-app onboarding/deep-link, offline recording, process restart, reconnect/History retry and Settings checks. `scripts/test-native-android.sh` starts a synthetic fixture API, disables airplane connectivity and stops the API so an ADB tunnel cannot hide offline failures, then restarts the app without clearing storage. It verifies that the retried lifecycle preserves one UUID and produces one successful submission. Run it against an installed standalone APK with localhost HTTP permitted for the fixture; it never changes the production app network policy or auth behavior. Install Maestro CLI `cli-2.12.1` and Android platform tools first. -The manual **Collection native candidate tests** workflow accepts an APK artifact run/name and requires that artifact's source SHA to match the selected workflow revision. A failed native flow fails the workflow and retains JUnit/logs. It is a candidate/release check, not a required PR test until Android build stability is proven (LVT-217). No cloud builds or releases are started by the test workflow. Use the existing `native-smoke-ios` EAS simulator profile for iOS candidates; run the same flows with a reachable local fixture, omitting Android airplane/ADB commands. iOS has no simulator airplane mode. +The manual **Collection native candidate tests** workflow can build a fresh standalone synthetic Android APK when both inputs +are empty, or accepts an APK artifact run/name and requires that artifact's source SHA to match the selected workflow revision. A failed native flow fails the workflow and retains JUnit/logs. It is a candidate/release check, not a required PR test until Android build stability is proven (LVT-217). The test build runs locally on GitHub with template test signing and loopback-only +fixture networking; it does not start cloud builds or publish releases. Use the existing `native-smoke-ios` EAS simulator profile for iOS candidates; run the same flows with a reachable local fixture, omitting Android airplane/ADB commands. iOS has no simulator airplane mode. Before a release, the release owner must run the candidate checks and record the build SHA/version, then manually verify camera permission grant/deny, physical-device multi-code QR transfer, background/restart persistence, and the iOS system/browser permission prompts. Unit/component tests do not claim to validate native camera, signing, installation or permissions. Native flows require a candidate device/build and are documented separately from the automated Pages suite. Related: LVT-259/260/261/262 and LVT-273. + +The owner-assigned acceptance matrix and candidate evidence template are in +[manual release checks](docs/manual-release-checks.md). Unexecuted physical-device +and iOS simulator checks remain pending. diff --git a/apps/collection/docs/manual-release-checks.md b/apps/collection/docs/manual-release-checks.md new file mode 100644 index 00000000..70b72538 --- /dev/null +++ b/apps/collection/docs/manual-release-checks.md @@ -0,0 +1,75 @@ +# Collection manual release checks + +Related: LVT-217 and LVT-262. Status: **prepared; device acceptance pending**. +Jack Shim (Collection issue assignee) owns the acceptance record. Name the release +operator and reviewer for each candidate. Run on a disposable Android device and +an iOS 27 device with a sandbox team; use only fictional scouting information. +An unexecuted/blocked check is pending and prevents mobile release approval. + +## Evidence record + +Copy into LVT-262 for each candidate: + +- Operator / reviewer / UTC date: **pending** +- Source SHA / build workflow or EAS run URL: **pending** +- Version / Android versionCode or iOS buildNumber: **pending** +- Signed candidate artifact URL / SHA-256 (`shasum -a 256 `): **pending** +- Device model / OS / previous installed version: **pending** +- Sandbox API origin / synthetic team code (no credentials): **pending** +- Native Android run URL / iOS simulator evidence: **pending** +- Each row's result, redacted evidence and linked defect: **pending** +- Release decision / owner sign-off: **pending** + +The CI APK is a test-only x86_64 standalone release-mode build with generated +loopback network access. It uses the template's test signing and is not a store +candidate. Its hash and source revision are retained with test results. Testing +that APK does not certify the signed mobile artifact distributed to users. + +## Device acceptance matrix + +Record pass/fail separately for Android and iOS; do not combine them into one +unchecked statement. + +| Check | Expected result | Android / iOS evidence | +| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------- | +| Clean install from normal signed distribution channel | Correct version/build launches and onboarding works; iOS 27 does not crash on launch | Pending / Pending | +| Upgrade from previous supported version with one saved old report | Settings and report remain readable; migration preserves report identity and data | Pending / Pending | +| Set sandbox API with `lovat-collection://set-url?u=`; enroll synthetic team | Correct sandbox origin/team/scouter/event are shown | Pending / Pending | +| Record a complete report while airplane mode is enabled | Save succeeds locally; upload failure is visible and recoverable | Pending / Pending | +| Background, force-terminate and relaunch without clearing app storage | Saved report remains in History with the same UUID and event data | Pending / Pending | +| Reconnect and retry from History, then reopen/retry again | Exactly one successful server report; UUID is unchanged; no duplicate successful submission | Pending / Pending | +| Open Settings, change event/scouter/server, then relaunch | Expected selections persist and saved reports stay associated with their original data | Pending / Pending | +| Display a multi-part synthetic report QR and scan with Dashboard on a second physical device | Dashboard reconstructs one identical report; partial/repeated chunks recover safely | Pending / Pending | +| Dashboard scanner camera denied, retried, then granted via system settings | Permission denial is recoverable and transfer succeeds after grant | Pending / Pending | +| Scan unrelated/invalid QR with Dashboard | Clear error; existing report data is preserved | Pending / Pending | +| Phone lock/background during QR display, then reopen | QR remains readable and represents the same saved report | Pending / Pending | + +Collection displays QR codes; camera permission belongs to the receiving +Dashboard scanner. Do not invent a Collection camera-permission pass. Record the +receiving Dashboard version/build and OS alongside each transfer result. Keep +Auth0 login checks in Dashboard's LVT-265/266 acceptance record. + +## Automated candidate run and iOS handoff + +Dispatch **Collection native candidate tests** at the exact candidate SHA with +both inputs empty to generate and test a fresh standalone Android APK. Or provide +both the build run ID and artifact name for an externally built standalone APK; +the workflow rejects a different source revision. Never provide only one input. +The Android runner verifies airplane/offline, real process restart, saved History, +reconnect/retry and one preserved UUID. Failures remain failures, with diagnostics. +Do not use a personal device: bootstrap intentionally clears app storage. + +For iOS, build the existing `native-smoke-ios` EAS simulator profile with Xcode 27 +from that same source SHA, record the run URL, version and artifact hash, install +on a disposable simulator, and run `.maestro/bootstrap.yaml`, +`.maestro/offline-restart.yaml` and `.maestro/reconnect.yaml` against the synthetic +fixture (`node test/native/fixture-api.mjs`). Stop the fixture before the offline +flow and restart it before reconnect; iOS simulators have no airplane-mode API. +Retain Maestro JUnit/screenshots and the fixture submission ledger. This iOS +procedure is a pending operator check until its actual build/run evidence is +attached; a build profile alone is not a passed native test. Physical-device +rows above still apply after a simulator pass. + +If CI cannot boot/install, attach its failure and run the same journey on a +physical test device. Record that separate result explicitly. Attach redacted +synthetic screenshots only; never publish real notes, strategy or login tokens. From 006f4d483579b64a97d09821e8e24aebae04c12e Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 07:44:59 -0800 Subject: [PATCH 03/21] fix(ci): retain native setup logs and settle emulator permissions Refs: LVT-262 --- .github/workflows/collection-native-tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/collection-native-tests.yml b/.github/workflows/collection-native-tests.yml index e6b65fc2..922022fa 100644 --- a/.github/workflows/collection-native-tests.yml +++ b/.github/workflows/collection-native-tests.yml @@ -41,7 +41,9 @@ jobs: - name: Build standalone synthetic candidate from a fresh native project env: LOVAT_DISPOSABLE_BUILD: "1" - run: bash apps/collection/scripts/build-native-candidate.sh + run: | + mkdir -p apps/collection/.maestro/results + bash apps/collection/scripts/build-native-candidate.sh 2>&1 | tee apps/collection/.maestro/results/build-full.log - uses: actions/upload-artifact@v4 with: name: collection-native-candidate-${{ github.sha }} @@ -99,6 +101,10 @@ jobs: echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules sudo udevadm control --reload-rules sudo udevadm trigger --name-match=kvm + sudo udevadm settle + sudo chmod a+rw /dev/kvm + mkdir -p apps/collection/.maestro/results + ls -l /dev/kvm | tee apps/collection/.maestro/results/kvm.txt test -r /dev/kvm && test -w /dev/kvm - uses: reactivecircus/android-emulator-runner@v2 with: From 4aef8963ae3ec87f1390d8c0f581e1a79401c6a9 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 07:45:18 -0800 Subject: [PATCH 04/21] chore(ci): use stat for emulator permission diagnostics Refs: LVT-262 --- .github/workflows/collection-native-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/collection-native-tests.yml b/.github/workflows/collection-native-tests.yml index 922022fa..d948fe8f 100644 --- a/.github/workflows/collection-native-tests.yml +++ b/.github/workflows/collection-native-tests.yml @@ -104,7 +104,7 @@ jobs: sudo udevadm settle sudo chmod a+rw /dev/kvm mkdir -p apps/collection/.maestro/results - ls -l /dev/kvm | tee apps/collection/.maestro/results/kvm.txt + stat /dev/kvm | tee apps/collection/.maestro/results/kvm.txt test -r /dev/kvm && test -w /dev/kvm - uses: reactivecircus/android-emulator-runner@v2 with: From b4d1632246bf8019d2d6d2aaa8029424ccd187e8 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 07:45:57 -0800 Subject: [PATCH 05/21] fix(collection): declare exact loopback hosts in native test policy Android release lint requires explicit includeSubdomains attributes. Keep the generated test policy limited to exact localhost hosts. Refs: LVT-217, LVT-262 --- apps/collection/scripts/build-native-candidate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/collection/scripts/build-native-candidate.sh b/apps/collection/scripts/build-native-candidate.sh index bf24e0eb..cb560b05 100755 --- a/apps/collection/scripts/build-native-candidate.sh +++ b/apps/collection/scripts/build-native-candidate.sh @@ -24,7 +24,8 @@ p.parent.mkdir(parents=True, exist_ok=True) p.write_text(''' - 127.0.0.1localhost + 127.0.0.1 + localhost ''') From aab12cbc7627c8fa80d4f35284a96ff5fb3386c4 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 08:04:34 -0800 Subject: [PATCH 06/21] fix(ci): retain Collection build failures through diagnostic pipes Refs: LVT-262, LVT-273 --- .github/workflows/collection-native-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/collection-native-tests.yml b/.github/workflows/collection-native-tests.yml index d948fe8f..63cb17f0 100644 --- a/.github/workflows/collection-native-tests.yml +++ b/.github/workflows/collection-native-tests.yml @@ -11,6 +11,9 @@ on: permissions: contents: read actions: read +defaults: + run: + shell: bash jobs: validate: runs-on: ubuntu-24.04 From 4a6fb1055ae79b2318c703a24c1d85ba8a4ed82c Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 16:20:00 -0800 Subject: [PATCH 07/21] fix(collection): recognize native offline transport failures Installed-app tests exposed native fetch failures that were not treated as offline. Preserve HTTP/schema failures and exercise a real accessible intake action before undo in the restart journey. Refs: LVT-262 --- apps/collection/.maestro/offline-restart.yaml | 2 ++ apps/collection/lib/collection/ui/GameAction.tsx | 4 ++++ .../collection/ui/actions/AutoIntakeActions.tsx | 2 ++ apps/collection/lib/lovatAPI/checkMatchExists.ts | 4 +++- apps/collection/test/matchValidation.test.cjs | 15 +++++++++++++++ 5 files changed, 26 insertions(+), 1 deletion(-) diff --git a/apps/collection/.maestro/offline-restart.yaml b/apps/collection/.maestro/offline-restart.yaml index fac41322..1a36437b 100644 --- a/apps/collection/.maestro/offline-restart.yaml +++ b/apps/collection/.maestro/offline-restart.yaml @@ -6,7 +6,9 @@ appId: com.frc8033.lovatcollection timeout: 20000 - tapOn: "Start position Hub" - tapOn: "Start match" +- tapOn: "Intake from depot" - tapOn: "Undo" +- tapOn: "Intake from depot" - tapOn: "End match" - tapOn: "End match" - scrollUntilVisible: diff --git a/apps/collection/lib/collection/ui/GameAction.tsx b/apps/collection/lib/collection/ui/GameAction.tsx index c11b7ed3..f62a01df 100644 --- a/apps/collection/lib/collection/ui/GameAction.tsx +++ b/apps/collection/lib/collection/ui/GameAction.tsx @@ -6,6 +6,7 @@ import { useFieldRelativeDimensions } from "../useFieldRelativeDimensions"; export const GameAction = ({ onPress, + label, children, icon, color, @@ -16,6 +17,7 @@ export const GameAction = ({ iconSize, }: { onPress: () => void; + label?: string; children?: React.ReactNode; backgroundViewReplacement?: React.ReactNode; color: string; @@ -35,6 +37,8 @@ export const GameAction = ({ return ( { Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light); onPress(); diff --git a/apps/collection/lib/collection/ui/actions/AutoIntakeActions.tsx b/apps/collection/lib/collection/ui/actions/AutoIntakeActions.tsx index e1354998..4da8b2a9 100644 --- a/apps/collection/lib/collection/ui/actions/AutoIntakeActions.tsx +++ b/apps/collection/lib/collection/ui/actions/AutoIntakeActions.tsx @@ -18,6 +18,7 @@ export function DepotIntakeAction() { })} > reportState.addEvent({ type: MatchEventType.Intake, @@ -45,6 +46,7 @@ export function NeutralZoneAutoIntakeAction() { })} > reportState.addEvent({ type: MatchEventType.Intake, diff --git a/apps/collection/lib/lovatAPI/checkMatchExists.ts b/apps/collection/lib/lovatAPI/checkMatchExists.ts index ba13f16a..025a6ccc 100644 --- a/apps/collection/lib/lovatAPI/checkMatchExists.ts +++ b/apps/collection/lib/lovatAPI/checkMatchExists.ts @@ -67,7 +67,9 @@ export async function checkMatchExists( } catch (error) { if ( error instanceof TypeError || - (error instanceof Error && error.name === "AbortError") + (error instanceof Error && + (error.name === "AbortError" || + /^fetch failed(?::|$)/i.test(error.message))) ) { return { status: "offline" }; } diff --git a/apps/collection/test/matchValidation.test.cjs b/apps/collection/test/matchValidation.test.cjs index 33526b47..e8505e5b 100644 --- a/apps/collection/test/matchValidation.test.cjs +++ b/apps/collection/test/matchValidation.test.cjs @@ -85,6 +85,21 @@ test("disconnection allows starting even without a cached schedule", async () => }; assert.deepEqual(await checkMatchExists(meta), { status: "offline" }); }); +test("native fetch transport errors allow offline scouting", async () => { + request = async () => { + throw new Error( + "fetch failed: java.io.IOException: unexpected end of stream", + ); + }; + assert.deepEqual(await checkMatchExists(meta), { status: "offline" }); + request = async () => { + throw new Error("Could not read local device headers"); + }; + await assert.rejects( + checkMatchExists(meta), + /Could not read local device headers/, + ); +}); test("an unresponsive connection times out instead of preventing offline scouting", async (t) => { t.mock.timers.enable({ apis: ["setTimeout"] }); request = (_url, { signal }) => From fafe2bfd3006315b58785c9c762b4345bd133b53 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 16:25:33 -0800 Subject: [PATCH 08/21] build(collection): align current SDK 58 patch requirements Expo now requires expo 58.0.25 and expo-dev-client 58.0.20. Keep the live compatibility gate and app version unchanged. Refs: LVT-262, LVT-273 --- apps/collection/package-lock.json | 24 ++++++++++++------------ apps/collection/package.json | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/collection/package-lock.json b/apps/collection/package-lock.json index 8313d820..d0a76d74 100644 --- a/apps/collection/package-lock.json +++ b/apps/collection/package-lock.json @@ -15,10 +15,10 @@ "@react-native-menu/menu": "^2.0.0", "@react-native-picker/picker": "2.11.4", "@types/react": "~19.3.0", - "expo": "~58.0.24", + "expo": "~58.0.25", "expo-build-properties": "~58.0.12", "expo-constants": "~58.0.14", - "expo-dev-client": "~58.0.19", + "expo-dev-client": "~58.0.20", "expo-font": "~58.0.11", "expo-haptics": "~58.0.8", "expo-linear-gradient": "~58.0.4", @@ -9484,9 +9484,9 @@ } }, "node_modules/expo": { - "version": "58.0.24", - "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.24.tgz", - "integrity": "sha512-EPgijeqjnK+eaoA9VzJvvodmKBxEcfNlRBxyZr5s1dmvjgF13p3HfEr6eRjsTtnXdz/GlKn2uffTM1uHZeaSVQ==", + "version": "58.0.25", + "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.25.tgz", + "integrity": "sha512-Ih7pQYPS+2ZFS5APNtgOUp2AK/M+zfILK9Z5/wh6PoLn6XF3dh+nlcvugotytVzf8jX5/NBMcB7xJT+97oaNvw==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.0", @@ -9607,12 +9607,12 @@ } }, "node_modules/expo-dev-client": { - "version": "58.0.19", - "resolved": "https://registry.npmjs.org/expo-dev-client/-/expo-dev-client-58.0.19.tgz", - "integrity": "sha512-mtUFj8xq16uxbUUlUNb8FGCHYIcjCjCRXb1J2NTQKKUdLbRIdLIMEvX49pg4a/Tnwcy+qQTn4qI8ZLRe0AZBuQ==", + "version": "58.0.20", + "resolved": "https://registry.npmjs.org/expo-dev-client/-/expo-dev-client-58.0.20.tgz", + "integrity": "sha512-Wp1q6KfvfwQN72M4lGW5KNnnZtRO3XdgcHstX33NlUE5cV3tw3LGHX6hgHu0xN19zKBK9Wb6yiN7JU7mGApMwQ==", "license": "MIT", "dependencies": { - "expo-dev-launcher": "~58.0.19", + "expo-dev-launcher": "~58.0.20", "expo-dev-menu": "~58.0.13", "expo-dev-menu-interface": "~58.0.2", "expo-manifests": "~58.0.1", @@ -9623,9 +9623,9 @@ } }, "node_modules/expo-dev-launcher": { - "version": "58.0.19", - "resolved": "https://registry.npmjs.org/expo-dev-launcher/-/expo-dev-launcher-58.0.19.tgz", - "integrity": "sha512-TCjhLzRvOK3LPXAHwuyMV6zm03D53k2V4pqJxGG/tpo5CJglJOAX3NHwgge/RRahMCFij5C1kuCdAbf/eW7Rbw==", + "version": "58.0.20", + "resolved": "https://registry.npmjs.org/expo-dev-launcher/-/expo-dev-launcher-58.0.20.tgz", + "integrity": "sha512-tm0K5l40cxYXIxYzcEuAKYnVx6T9o7aAb0gQdfooz4WYPgqf5dHfu5obdWwAvCU6j40hWSHEWaPGfPkoO9O7hQ==", "license": "MIT", "dependencies": { "@expo/schema-utils": "^58.0.3", diff --git a/apps/collection/package.json b/apps/collection/package.json index ef05307a..844490d8 100644 --- a/apps/collection/package.json +++ b/apps/collection/package.json @@ -38,10 +38,10 @@ "@react-native-menu/menu": "^2.0.0", "@react-native-picker/picker": "2.11.4", "@types/react": "~19.3.0", - "expo": "~58.0.24", + "expo": "~58.0.25", "expo-build-properties": "~58.0.12", "expo-constants": "~58.0.14", - "expo-dev-client": "~58.0.19", + "expo-dev-client": "~58.0.20", "expo-font": "~58.0.11", "expo-haptics": "~58.0.8", "expo-linear-gradient": "~58.0.4", From d8d8a860b8f7d0830e78b5e38997128915413c82 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 16:43:41 -0800 Subject: [PATCH 09/21] test(collection): wait for landscape state before native match input Retained screenshots show the flow remained in Pre-Match after early taps during rotation. Assert selected pose and enabled Start before recording intake; failed state transitions stay visible. Refs: LVT-262 --- apps/collection/.maestro/offline-restart.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/collection/.maestro/offline-restart.yaml b/apps/collection/.maestro/offline-restart.yaml index 1a36437b..5a2e28e2 100644 --- a/apps/collection/.maestro/offline-restart.yaml +++ b/apps/collection/.maestro/offline-restart.yaml @@ -4,8 +4,19 @@ appId: com.frc8033.lovatcollection - extendedWaitUntil: visible: "Start position Hub" timeout: 20000 +- waitForAnimationToEnd: + timeout: 5000 - tapOn: "Start position Hub" -- tapOn: "Start match" +- assertVisible: + text: "Start position Hub" + selected: true +- assertVisible: + text: "Start match" + enabled: true +- tapOn: + text: "Start match" + enabled: true +- assertNotVisible: "Start position Hub" - tapOn: "Intake from depot" - tapOn: "Undo" - tapOn: "Intake from depot" From 61f06b48f92aad2666c83449c1b91f98a9509dde Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 17:02:59 -0800 Subject: [PATCH 10/21] test(collection): retain native command traces and stabilize pose input Keep selected-pose assertions while retrying unchanged input during Android rotation. Retain scoped Maestro diagnostics, reset only this run\047s synthetic ledger, and use cross-platform UI Back controls. Refs: LVT-262 --- apps/collection/.maestro/offline-restart.yaml | 4 +++- apps/collection/.maestro/reconnect.yaml | 4 ++-- apps/collection/scripts/test-native-android.sh | 9 +++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/apps/collection/.maestro/offline-restart.yaml b/apps/collection/.maestro/offline-restart.yaml index 5a2e28e2..dfc4aa88 100644 --- a/apps/collection/.maestro/offline-restart.yaml +++ b/apps/collection/.maestro/offline-restart.yaml @@ -6,7 +6,9 @@ appId: com.frc8033.lovatcollection timeout: 20000 - waitForAnimationToEnd: timeout: 5000 -- tapOn: "Start position Hub" +- tapOn: + text: "Start position Hub" + retryTapIfNoChange: true - assertVisible: text: "Start position Hub" selected: true diff --git a/apps/collection/.maestro/reconnect.yaml b/apps/collection/.maestro/reconnect.yaml index e87c4177..1fd41ccb 100644 --- a/apps/collection/.maestro/reconnect.yaml +++ b/apps/collection/.maestro/reconnect.yaml @@ -12,8 +12,8 @@ appId: com.frc8033.lovatcollection - tapOn: text: ".*1234.*" - assertNotVisible: "Upload" -- back -- back +- tapOn: "Back" +- tapOn: "Back" - tapOn: "settings" - assertVisible: "Settings" - openLink: "lovat-collection://history" diff --git a/apps/collection/scripts/test-native-android.sh b/apps/collection/scripts/test-native-android.sh index 4f5aa4b9..0ccff8f7 100644 --- a/apps/collection/scripts/test-native-android.sh +++ b/apps/collection/scripts/test-native-android.sh @@ -2,6 +2,7 @@ set -euo pipefail cd "$(dirname "$0")/.." mkdir -p .maestro/results +: > .maestro/results/ledger.jsonl fixture_pid="" cleanup() { result=$? @@ -27,19 +28,19 @@ start_fixture() { adb wait-for-device adb reverse tcp:9877 tcp:9877 start_fixture -maestro test --format junit --output .maestro/results/bootstrap.xml .maestro/bootstrap.yaml +maestro test --debug-output .maestro/results/bootstrap-debug --test-output-dir .maestro/results/bootstrap-debug --format junit --output .maestro/results/bootstrap.xml .maestro/bootstrap.yaml # Stop the fixture as well: an ADB reverse tunnel can survive airplane mode. kill "$fixture_pid" wait "$fixture_pid" || true fixture_pid="" adb shell cmd connectivity airplane-mode enable -maestro test --format junit --output .maestro/results/offline.xml .maestro/offline-restart.yaml +maestro test --debug-output .maestro/results/offline-debug --test-output-dir .maestro/results/offline-debug --format junit --output .maestro/results/offline.xml .maestro/offline-restart.yaml adb shell cmd connectivity airplane-mode disable start_fixture -maestro test --format junit --output .maestro/results/reconnect.xml .maestro/reconnect.yaml +maestro test --debug-output .maestro/results/reconnect-debug --test-output-dir .maestro/results/reconnect-debug --format junit --output .maestro/results/reconnect.xml .maestro/reconnect.yaml node --input-type=module - <<'JS' import {readFileSync} from 'node:fs'; -const entries=readFileSync('.maestro/results/ledger.jsonl','utf8').trim().split('\n').map(JSON.parse); +const entries=readFileSync('.maestro/results/ledger.jsonl','utf8').trim().split('\n').filter(Boolean).map(JSON.parse); const submitted=entries.filter(e=>e.path==='/collection/submit'||e.path==='/collection/scoutreports'); if(submitted.length!==1)throw new Error('Expected one successful synthetic report submission'); if(!entries.every(e=>e.uuid===submitted[0].uuid))throw new Error('Lifecycle/retry changed the report UUID'); From 14cff47c04b30bb906f02d6df496f9e1e7b59f6d Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 22:04:48 -0800 Subject: [PATCH 11/21] test(collection): isolate orientation transitions in native journeys Verify the starting-position component with real press events and preserve all native assertions across separate driver sessions. Refs: LVT-262 --- apps/collection/.maestro/enter-game.yaml | 8 +++ apps/collection/.maestro/offline-restart.yaml | 24 -------- apps/collection/.maestro/record-match.yaml | 20 +++++++ .../collection/scripts/test-native-android.sh | 5 ++ .../test/jest/pre-match-ui.test.tsx | 60 +++++++++++++++++++ 5 files changed, 93 insertions(+), 24 deletions(-) create mode 100644 apps/collection/.maestro/enter-game.yaml create mode 100644 apps/collection/.maestro/record-match.yaml create mode 100644 apps/collection/test/jest/pre-match-ui.test.tsx diff --git a/apps/collection/.maestro/enter-game.yaml b/apps/collection/.maestro/enter-game.yaml new file mode 100644 index 00000000..20c0d59d --- /dev/null +++ b/apps/collection/.maestro/enter-game.yaml @@ -0,0 +1,8 @@ +appId: com.frc8033.lovatcollection +--- +- tapOn: "Scout this match" +- extendedWaitUntil: + visible: "Start position Hub" + timeout: 20000 +- waitForAnimationToEnd: + timeout: 5000 diff --git a/apps/collection/.maestro/offline-restart.yaml b/apps/collection/.maestro/offline-restart.yaml index dfc4aa88..29cc574c 100644 --- a/apps/collection/.maestro/offline-restart.yaml +++ b/apps/collection/.maestro/offline-restart.yaml @@ -1,29 +1,5 @@ appId: com.frc8033.lovatcollection --- -- tapOn: "Scout this match" -- extendedWaitUntil: - visible: "Start position Hub" - timeout: 20000 -- waitForAnimationToEnd: - timeout: 5000 -- tapOn: - text: "Start position Hub" - retryTapIfNoChange: true -- assertVisible: - text: "Start position Hub" - selected: true -- assertVisible: - text: "Start match" - enabled: true -- tapOn: - text: "Start match" - enabled: true -- assertNotVisible: "Start position Hub" -- tapOn: "Intake from depot" -- tapOn: "Undo" -- tapOn: "Intake from depot" -- tapOn: "End match" -- tapOn: "End match" - scrollUntilVisible: element: text: "Submit" diff --git a/apps/collection/.maestro/record-match.yaml b/apps/collection/.maestro/record-match.yaml new file mode 100644 index 00000000..d917e897 --- /dev/null +++ b/apps/collection/.maestro/record-match.yaml @@ -0,0 +1,20 @@ +appId: com.frc8033.lovatcollection +--- +- tapOn: + text: "Start position Hub" + retryTapIfNoChange: true +- assertVisible: + text: "Start position Hub" + selected: true +- assertVisible: + text: "Start match" + enabled: true +- tapOn: + text: "Start match" + enabled: true +- assertNotVisible: "Start position Hub" +- tapOn: "Intake from depot" +- tapOn: "Undo" +- tapOn: "Intake from depot" +- tapOn: "End match" +- tapOn: "End match" diff --git a/apps/collection/scripts/test-native-android.sh b/apps/collection/scripts/test-native-android.sh index 0ccff8f7..40604c39 100644 --- a/apps/collection/scripts/test-native-android.sh +++ b/apps/collection/scripts/test-native-android.sh @@ -34,6 +34,11 @@ kill "$fixture_pid" wait "$fixture_pid" || true fixture_pid="" adb shell cmd connectivity airplane-mode enable +# Start a fresh driver session after each orientation transition, preserving +# the app process and report state. Keep selection/start assertions in the +# landscape session rather than relying on a successful input command. +maestro test --debug-output .maestro/results/enter-game-debug --test-output-dir .maestro/results/enter-game-debug --format junit --output .maestro/results/enter-game.xml .maestro/enter-game.yaml +maestro test --debug-output .maestro/results/record-match-debug --test-output-dir .maestro/results/record-match-debug --format junit --output .maestro/results/record-match.xml .maestro/record-match.yaml maestro test --debug-output .maestro/results/offline-debug --test-output-dir .maestro/results/offline-debug --format junit --output .maestro/results/offline.xml .maestro/offline-restart.yaml adb shell cmd connectivity airplane-mode disable start_fixture diff --git a/apps/collection/test/jest/pre-match-ui.test.tsx b/apps/collection/test/jest/pre-match-ui.test.tsx new file mode 100644 index 00000000..1ad2d3da --- /dev/null +++ b/apps/collection/test/jest/pre-match-ui.test.tsx @@ -0,0 +1,60 @@ +import React from "react"; +import { act, render, screen, userEvent } from "@testing-library/react-native"; +import { beforeEach, expect, test } from "@jest/globals"; +import { PreMatchActions } from "../../lib/collection/ui/actions/PreMatchActions"; +import { useReportStateStore } from "../../lib/collection/reportStateStore"; +import { MatchEventPosition } from "../../lib/collection/MatchEventPosition"; +import { useTeamStore } from "../../lib/storage/userStores"; +import { useTrainingSessionStore } from "../../lib/training/trainingStore"; +import { meta } from "./fixtures"; + +beforeEach(() => { + useTeamStore.setState({ number: null, code: "" }); + useReportStateStore.getState().reset(); + useTrainingSessionStore.getState().clear(); +}); + +test("a live-match starting-position press updates the report and selected button", async () => { + useReportStateStore.getState().scoutMatch(meta); + await render(); + const user = userEvent.setup(); + await user.press(screen.getByRole("button", { name: "Start position Hub" })); + expect(useReportStateStore.getState().startPosition).toBe( + MatchEventPosition.Hub, + ); + expect( + screen.getByRole("button", { name: "Start position Hub" }), + ).toBeSelected(); + await user.press( + screen.getByRole("button", { name: "Start position LeftTrench" }), + ); + expect(useReportStateStore.getState().startPosition).toBe( + MatchEventPosition.LeftTrench, + ); + expect( + screen.getByRole("button", { name: "Start position Hub" }), + ).not.toBeSelected(); +}); + +test("a disconnected paired session prevents starting-position changes", async () => { + useReportStateStore.setState({ + meta: { + ...meta, + collection: { + sourceTeamNumber: 9999, + trainingAttemptUuid: "33333333-3333-4333-8333-333333333333", + }, + }, + }); + await render(); + const user = userEvent.setup(); + await user.press(screen.getByRole("button", { name: "Start position Hub" })); + expect(useReportStateStore.getState().startPosition).toBeUndefined(); + await act(async () => { + useReportStateStore.getState().scoutMatch(meta); + }); + await user.press(screen.getByRole("button", { name: "Start position Hub" })); + expect(useReportStateStore.getState().startPosition).toBe( + MatchEventPosition.Hub, + ); +}); From 5923135fcffa31c3c1a8ea262660d7a60c6dce5d Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 22:06:12 -0800 Subject: [PATCH 12/21] docs(collection): align manual native flow sequence Refs: LVT-262 --- apps/collection/docs/manual-release-checks.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/collection/docs/manual-release-checks.md b/apps/collection/docs/manual-release-checks.md index 70b72538..e389f4c2 100644 --- a/apps/collection/docs/manual-release-checks.md +++ b/apps/collection/docs/manual-release-checks.md @@ -62,9 +62,11 @@ Do not use a personal device: bootstrap intentionally clears app storage. For iOS, build the existing `native-smoke-ios` EAS simulator profile with Xcode 27 from that same source SHA, record the run URL, version and artifact hash, install on a disposable simulator, and run `.maestro/bootstrap.yaml`, -`.maestro/offline-restart.yaml` and `.maestro/reconnect.yaml` against the synthetic -fixture (`node test/native/fixture-api.mjs`). Stop the fixture before the offline -flow and restart it before reconnect; iOS simulators have no airplane-mode API. +`.maestro/enter-game.yaml`, `.maestro/record-match.yaml`, +`.maestro/offline-restart.yaml` and `.maestro/reconnect.yaml` in that order, +each in a separate Maestro invocation against the synthetic fixture +(`node test/native/fixture-api.mjs`). Stop the fixture before `enter-game.yaml` +and restart it before reconnect; iOS simulators have no airplane-mode API. Retain Maestro JUnit/screenshots and the fixture submission ledger. This iOS procedure is a pending operator check until its actual build/run evidence is attached; a build profile alone is not a passed native test. Physical-device From 41294695f014e02103470595f413e97ee9cfb34a Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 22:25:48 -0800 Subject: [PATCH 13/21] fix(collection): unmount closed field overlays Remove hidden native touch targets and restore backdrop dismissal. Retain the original native failure result while capturing a separate Android input diagnostic. Refs: LVT-262 --- .../lib/collection/ui/GameViewTemplate.tsx | 7 +-- .../collection/scripts/test-native-android.sh | 27 ++++++++++++ .../test/jest/game-overlay-ui.test.tsx | 43 +++++++++++++++++++ 3 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 apps/collection/test/jest/game-overlay-ui.test.tsx diff --git a/apps/collection/lib/collection/ui/GameViewTemplate.tsx b/apps/collection/lib/collection/ui/GameViewTemplate.tsx index 038988ac..ee9b66e6 100644 --- a/apps/collection/lib/collection/ui/GameViewTemplate.tsx +++ b/apps/collection/lib/collection/ui/GameViewTemplate.tsx @@ -192,13 +192,14 @@ function GameViewOverlay({ overlay: boolean; setOverlay: (value: boolean) => void; }) { + // Remove the modal's native touch targets while it is closed. Opacity only + // changes painting; hidden controls should not remain over the playing field. + if (!overlay) return null; + return ( .maestro/results/logcat.txt 2>&1 || true adb shell getprop > .maestro/results/device.txt 2>&1 || true adb exec-out screencap -p > .maestro/results/screenshot.png 2>/dev/null || true + if [[ "$result" -ne 0 ]]; then + # Preserve the failure above, then compare Android's own input path with + # Maestro's tap. This diagnostic never changes the original test result. + python3 - <<'PY' > .maestro/results/input-diagnostic.txt 2>&1 || true +from pathlib import Path +import re +import subprocess +import time +import xml.etree.ElementTree as ET +out = Path('.maestro/results') +def hierarchy(name): + subprocess.run(['adb', 'shell', 'uiautomator', 'dump', '/sdcard/collection-diagnostic.xml'], check=True, timeout=20) + data = subprocess.check_output(['adb', 'exec-out', 'cat', '/sdcard/collection-diagnostic.xml'], timeout=10) + (out / name).write_bytes(data) + return ET.fromstring(data) +tree = hierarchy('input-before.xml') +hub = next((n for n in tree.iter('node') if n.get('content-desc') == 'Start position Hub'), None) +if hub is not None and hub.get('selected') == 'false': + x1, y1, x2, y2 = map(int, re.findall(r'\d+', hub.get('bounds'))) + point = [str((x1 + x2) // 2), str((y1 + y2) // 2)] + print('Diagnostic Android input tap at', point, flush=True) + subprocess.run(['adb', 'shell', 'input', 'tap', *point], check=True, timeout=10) + time.sleep(1) + hierarchy('input-after.xml') + (out / 'input-after.png').write_bytes(subprocess.check_output(['adb', 'exec-out', 'screencap', '-p'], timeout=10)) +PY + fi adb shell cmd connectivity airplane-mode disable || true if [[ -n "$fixture_pid" ]]; then kill "$fixture_pid" 2>/dev/null || true; fi exit "$result" diff --git a/apps/collection/test/jest/game-overlay-ui.test.tsx b/apps/collection/test/jest/game-overlay-ui.test.tsx new file mode 100644 index 00000000..1f3737ce --- /dev/null +++ b/apps/collection/test/jest/game-overlay-ui.test.tsx @@ -0,0 +1,43 @@ +import React from "react"; +import { render, screen, userEvent } from "@testing-library/react-native"; +import { expect, jest, test } from "@jest/globals"; +import { GameViewTemplate } from "../../lib/collection/ui/GameViewTemplate"; +import { PreMatchActions } from "../../lib/collection/ui/actions/PreMatchActions"; +import { useReportStateStore } from "../../lib/collection/reportStateStore"; +import { useTeamStore } from "../../lib/storage/userStores"; +import { meta } from "./fixtures"; + +jest.mock("@react-native-menu/menu", () => ({ MenuView: () => null })); +jest.mock("../../lib/training/TrainingReadyButton", () => ({ + TrainingReadyButton: () => null, +})); + +test("closed outpost actions leave no hidden touch controls over the field", async () => { + useTeamStore.setState({ number: null, code: "" }); + useReportStateStore.getState().scoutMatch(meta); + const setOverlay = jest.fn<(value: boolean) => void>(); + const props = { + field: , + gamePhaseMessage: "Pre-Match", + setOverlay, + onEnd: jest.fn(), + onRestart: jest.fn(), + }; + const view = await render(); + expect( + screen.queryByLabelText("Close Overlay", { includeHiddenElements: true }), + ).toBeNull(); + await userEvent + .setup() + .press(screen.getByRole("button", { name: "Start position Hub" })); + expect( + screen.getByRole("button", { name: "Start position Hub" }), + ).toBeSelected(); + await view.rerender(); + await userEvent.setup().press(screen.getByLabelText("Close Overlay")); + expect(setOverlay).toHaveBeenCalledWith(false); + await view.rerender(); + expect( + screen.queryByLabelText("Close Overlay", { includeHiddenElements: true }), + ).toBeNull(); +}); From bfd37367447bd4043a6517a54da71df1fcf54cfd Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Thu, 12 Nov 2026 22:48:45 -0800 Subject: [PATCH 14/21] test(collection): use Android shell gestures for landscape controls A retained failure diagnostic proves that Android input selects Hub at the exact coordinates where Maestro gRPC tap has no effect. Use the pinned driver supported long-press shell path for controls without long-press actions; keep all state assertions. Refs: LVT-262 --- apps/collection/.maestro/record-match.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/collection/.maestro/record-match.yaml b/apps/collection/.maestro/record-match.yaml index d917e897..faa517de 100644 --- a/apps/collection/.maestro/record-match.yaml +++ b/apps/collection/.maestro/record-match.yaml @@ -1,20 +1,21 @@ appId: com.frc8033.lovatcollection --- -- tapOn: - text: "Start position Hub" - retryTapIfNoChange: true +# Maestro 2.12.1's Android gRPC tap is ineffective after landscape rotation +# on this API 35 image. Its supported longPressOn uses Android's shell input +# path instead; the controls have no long-press action. Preserve state assertions. +- longPressOn: "Start position Hub" - assertVisible: text: "Start position Hub" selected: true - assertVisible: text: "Start match" enabled: true -- tapOn: +- longPressOn: text: "Start match" enabled: true - assertNotVisible: "Start position Hub" -- tapOn: "Intake from depot" -- tapOn: "Undo" -- tapOn: "Intake from depot" -- tapOn: "End match" -- tapOn: "End match" +- longPressOn: "Intake from depot" +- longPressOn: "Undo" +- longPressOn: "Intake from depot" +- longPressOn: "End match" +- longPressOn: "End match" From c13e7cf146bd625007f4977f28fcdb069c20b829 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 15:36:38 -0800 Subject: [PATCH 15/21] test(collection): tap native end menu through Android input Resolve fresh accessibility bounds and reject absent, disabled or ambiguous controls. Preserve short-tap semantics, per-step UI evidence and JUnit failures; keep the portable Maestro menu flow for iOS. Refs: LVT-262 --- .github/workflows/collection-native-tests.yml | 3 + apps/collection/.gitignore | 3 + apps/collection/.maestro/end-match.yaml | 4 + apps/collection/.maestro/record-match.yaml | 2 - apps/collection/docs/manual-release-checks.md | 9 ++- apps/collection/scripts/tap-native-menu.py | 76 +++++++++++++++++++ .../collection/scripts/test-native-android.sh | 1 + .../collection/test/native/menu_input_test.py | 30 ++++++++ 8 files changed, 125 insertions(+), 3 deletions(-) create mode 100644 apps/collection/.maestro/end-match.yaml create mode 100644 apps/collection/scripts/tap-native-menu.py create mode 100644 apps/collection/test/native/menu_input_test.py diff --git a/.github/workflows/collection-native-tests.yml b/.github/workflows/collection-native-tests.yml index 63cb17f0..d635d269 100644 --- a/.github/workflows/collection-native-tests.yml +++ b/.github/workflows/collection-native-tests.yml @@ -18,6 +18,9 @@ jobs: validate: runs-on: ubuntu-24.04 steps: + - uses: actions/checkout@v4 + - name: Test native menu selector guards + run: python3 -m unittest discover -s apps/collection/test/native -p '*_test.py' - env: RUN_ID: ${{ inputs.candidate_run_id }} ARTIFACT: ${{ inputs.artifact_name }} diff --git a/apps/collection/.gitignore b/apps/collection/.gitignore index 0b24b03d..3e498c3d 100644 --- a/apps/collection/.gitignore +++ b/apps/collection/.gitignore @@ -41,3 +41,6 @@ test-report/ .maestro/results/ /candidate/ + +# Native test helper bytecode +__pycache__/ diff --git a/apps/collection/.maestro/end-match.yaml b/apps/collection/.maestro/end-match.yaml new file mode 100644 index 00000000..50c36b9d --- /dev/null +++ b/apps/collection/.maestro/end-match.yaml @@ -0,0 +1,4 @@ +appId: com.frc8033.lovatcollection +--- +- tapOn: "End match" +- tapOn: "End match" diff --git a/apps/collection/.maestro/record-match.yaml b/apps/collection/.maestro/record-match.yaml index faa517de..8f697e67 100644 --- a/apps/collection/.maestro/record-match.yaml +++ b/apps/collection/.maestro/record-match.yaml @@ -17,5 +17,3 @@ appId: com.frc8033.lovatcollection - longPressOn: "Intake from depot" - longPressOn: "Undo" - longPressOn: "Intake from depot" -- longPressOn: "End match" -- longPressOn: "End match" diff --git a/apps/collection/docs/manual-release-checks.md b/apps/collection/docs/manual-release-checks.md index e389f4c2..84632712 100644 --- a/apps/collection/docs/manual-release-checks.md +++ b/apps/collection/docs/manual-release-checks.md @@ -62,7 +62,7 @@ Do not use a personal device: bootstrap intentionally clears app storage. For iOS, build the existing `native-smoke-ios` EAS simulator profile with Xcode 27 from that same source SHA, record the run URL, version and artifact hash, install on a disposable simulator, and run `.maestro/bootstrap.yaml`, -`.maestro/enter-game.yaml`, `.maestro/record-match.yaml`, +`.maestro/enter-game.yaml`, `.maestro/record-match.yaml`, `.maestro/end-match.yaml`, `.maestro/offline-restart.yaml` and `.maestro/reconnect.yaml` in that order, each in a separate Maestro invocation against the synthetic fixture (`node test/native/fixture-api.mjs`). Stop the fixture before `enter-game.yaml` @@ -72,6 +72,13 @@ procedure is a pending operator check until its actual build/run evidence is attached; a build profile alone is not a passed native test. Physical-device rows above still apply after a simulator pass. +On Android CI, landscape field controls use Maestro's shell-based long press +because the pinned driver's normal tap is ineffective after rotation on the +emulator image. The native End Match menu requires a short tap, so the Android +runner uses `scripts/tap-native-menu.py` in place of `end-match.yaml`. It resolves +fresh accessibility bounds, rejects missing/disabled/ambiguous targets and +retains its UI snapshots and JUnit result. All state assertions remain required. + If CI cannot boot/install, attach its failure and run the same journey on a physical test device. Record that separate result explicitly. Attach redacted synthetic screenshots only; never publish real notes, strategy or login tokens. diff --git a/apps/collection/scripts/tap-native-menu.py b/apps/collection/scripts/tap-native-menu.py new file mode 100644 index 00000000..29a13bdf --- /dev/null +++ b/apps/collection/scripts/tap-native-menu.py @@ -0,0 +1,76 @@ +"""Tap Android's native End Match menu using its actual accessibility bounds. + +Maestro 2.12.1's gRPC taps are ineffective after rotation on the CI image. +Unlike the field buttons, this menu distinguishes short taps from long presses. +""" + +from pathlib import Path +import re +import subprocess +import time +import xml.etree.ElementTree as ET + +APP_ID = "com.frc8033.lovatcollection" + + +def tap_point(data, attribute): + nodes = [ + n for n in ET.fromstring(data).iter("node") + if n.get("package") == APP_ID and n.get(attribute) == "End match" + ] + if len(nodes) != 1 or nodes[0].get("enabled") != "true": + raise ValueError("Expected exactly one enabled End match " + attribute) + match = re.fullmatch( + r"\[(\d+),(\d+)\]\[(\d+),(\d+)\]", nodes[0].get("bounds", "") + ) + if match is None: + raise ValueError("Invalid menu bounds") + x1, y1, x2, y2 = map(int, match.groups()) + if x2 <= x1 or y2 <= y1: + raise ValueError("Menu target has no visible area") + return ((x1 + x2) // 2, (y1 + y2) // 2) + + +def run(): + out = Path(".maestro/results") + suite = ET.Element("testsuite", name="Android native end menu", failures="0") + try: + for name, attribute in [("open-menu", "content-desc"), ("confirm-end", "text")]: + case = ET.SubElement(suite, "testcase", name=name) + try: + deadline = time.monotonic() + 30 + while True: + subprocess.run( + ["adb", "shell", "uiautomator", "dump", "/sdcard/collection-menu.xml"], + check=True, timeout=20, + ) + data = subprocess.check_output( + ["adb", "exec-out", "cat", "/sdcard/collection-menu.xml"], + timeout=10, + ) + (out / (name + ".xml")).write_bytes(data) + try: + x, y = tap_point(data, attribute) + break + except ValueError: + if time.monotonic() >= deadline: + raise + time.sleep(0.25) + print(name, "Android input tap at", x, y, flush=True) + subprocess.run( + ["adb", "shell", "input", "tap", str(x), str(y)], + check=True, timeout=10, + ) + except Exception as error: + suite.set("failures", "1") + ET.SubElement(case, "failure", message=str(error)).text = repr(error) + raise + finally: + suite.set("tests", str(len(suite.findall("testcase")))) + ET.ElementTree(suite).write( + out / "end-match.xml", encoding="utf-8", xml_declaration=True + ) + + +if __name__ == "__main__": + run() diff --git a/apps/collection/scripts/test-native-android.sh b/apps/collection/scripts/test-native-android.sh index 4c92522e..aa0d835d 100644 --- a/apps/collection/scripts/test-native-android.sh +++ b/apps/collection/scripts/test-native-android.sh @@ -66,6 +66,7 @@ adb shell cmd connectivity airplane-mode enable # landscape session rather than relying on a successful input command. maestro test --debug-output .maestro/results/enter-game-debug --test-output-dir .maestro/results/enter-game-debug --format junit --output .maestro/results/enter-game.xml .maestro/enter-game.yaml maestro test --debug-output .maestro/results/record-match-debug --test-output-dir .maestro/results/record-match-debug --format junit --output .maestro/results/record-match.xml .maestro/record-match.yaml +python3 scripts/tap-native-menu.py maestro test --debug-output .maestro/results/offline-debug --test-output-dir .maestro/results/offline-debug --format junit --output .maestro/results/offline.xml .maestro/offline-restart.yaml adb shell cmd connectivity airplane-mode disable start_fixture diff --git a/apps/collection/test/native/menu_input_test.py b/apps/collection/test/native/menu_input_test.py new file mode 100644 index 00000000..956bf1de --- /dev/null +++ b/apps/collection/test/native/menu_input_test.py @@ -0,0 +1,30 @@ +import importlib.util +from pathlib import Path +import unittest + +spec = importlib.util.spec_from_file_location("menu_input", Path(__file__).resolve().parents[2] / "scripts/tap-native-menu.py") +menu = importlib.util.module_from_spec(spec) +spec.loader.exec_module(menu) + + +class MenuInputTest(unittest.TestCase): + def node(self, **overrides): + import xml.etree.ElementTree as ET + attrs = {"package": menu.APP_ID, "content-desc": "End match", "enabled": "true", "bounds": "[572,7][622,53]"} + attrs.update(overrides) + return ET.tostring(ET.Element("node", attrs)) + + def test_uses_current_bounds_and_separates_icon_from_menu_item(self): + self.assertEqual(menu.tap_point(self.node(), "content-desc"), (597, 30)) + self.assertEqual(menu.tap_point(self.node(text="End match", bounds="[350,60][620,110]"), "text"), (485, 85)) + with self.assertRaises(ValueError): + menu.tap_point(self.node(), "text") + + def test_rejects_disabled_missing_ambiguous_or_invalid_targets(self): + for data in [b"", self.node(enabled="false"), self.node(package="other.app"), self.node(bounds="[1,2][1,2]"), self.node(bounds="bad"), b"" + self.node() + self.node() + b""]: + with self.subTest(data=data), self.assertRaises(ValueError): + menu.tap_point(data, "content-desc") + + +if __name__ == "__main__": + unittest.main() From ec7a140c60750472b69317f25d10a82d028b6076 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 15:48:00 -0800 Subject: [PATCH 16/21] test(collection): assert native record and undo state Require Undo to enable after intake, disable after undo, and enable again after recording the final event. Refs: LVT-262 --- apps/collection/.maestro/record-match.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/collection/.maestro/record-match.yaml b/apps/collection/.maestro/record-match.yaml index 8f697e67..e8bee22b 100644 --- a/apps/collection/.maestro/record-match.yaml +++ b/apps/collection/.maestro/record-match.yaml @@ -14,6 +14,18 @@ appId: com.frc8033.lovatcollection text: "Start match" enabled: true - assertNotVisible: "Start position Hub" +- assertVisible: + text: "Undo" + enabled: false - longPressOn: "Intake from depot" +- assertVisible: + text: "Undo" + enabled: true - longPressOn: "Undo" +- assertVisible: + text: "Undo" + enabled: false - longPressOn: "Intake from depot" +- assertVisible: + text: "Undo" + enabled: true From d245b4134077de7d580f0d516a33e209e5c9f5fa Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 15:49:50 -0800 Subject: [PATCH 17/21] fix(collection): align current Expo SDK 58 compatibility patches Update Expo, dev client, router and Jest preset to the patch versions required by the online compatibility gate, with their resolved dependency patches. Refs: LVT-262 --- apps/collection/package-lock.json | 260 +++++++++++++++--------------- apps/collection/package.json | 8 +- 2 files changed, 134 insertions(+), 134 deletions(-) diff --git a/apps/collection/package-lock.json b/apps/collection/package-lock.json index d0a76d74..31f5078a 100644 --- a/apps/collection/package-lock.json +++ b/apps/collection/package-lock.json @@ -15,16 +15,16 @@ "@react-native-menu/menu": "^2.0.0", "@react-native-picker/picker": "2.11.4", "@types/react": "~19.3.0", - "expo": "~58.0.25", + "expo": "~58.0.26", "expo-build-properties": "~58.0.12", "expo-constants": "~58.0.14", - "expo-dev-client": "~58.0.20", + "expo-dev-client": "~58.0.21", "expo-font": "~58.0.11", "expo-haptics": "~58.0.8", "expo-linear-gradient": "~58.0.4", "expo-linking": "~58.0.17", "expo-navigation-bar": "~58.0.4", - "expo-router": "~58.0.31", + "expo-router": "~58.0.32", "expo-screen-orientation": "~58.0.4", "expo-splash-screen": "~58.0.14", "expo-status-bar": "~58.0.5", @@ -62,7 +62,7 @@ "eslint-config-prettier": "^10.1.8", "eslint-plugin-react": "^7.37.5", "jest": "30.5.2", - "jest-expo": "58.0.14", + "jest-expo": "~58.0.15", "jest-junit": "16.0.0", "patch-package": "^8.0.1", "prettier": "^3.9.10", @@ -145,13 +145,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.14.tgz", - "integrity": "sha512-qSY56jgW5JnSXzuekLVil6zaOQxOCtOHidr65KkaMBw772IuAY28Qx4ZykAcDn8+FRF15qk80XzKwgSc/RYW6g==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.15.tgz", + "integrity": "sha512-gNWJUX0FlevflramOkaInywOMhU1lkln38gAC7TFZv2tsWbLYbN/2WZFGcq8zbX0Z55e4vGa27IB/NaeZoauWQ==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.29.14", - "@babel/types": "^7.29.14", + "@babel/parser": "^7.29.15", + "@babel/types": "^7.29.15", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -384,9 +384,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.14.tgz", - "integrity": "sha512-CXvKMFvM80ihI7Vox9jb+kQjnyjESQNPM+vB7U0Zz6TWuZA+Z/FL0QPMH300h33qJtIx+REeBhXqWOPW48TcAQ==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.15.tgz", + "integrity": "sha512-C2FuapQ2Kh1OnVHAoLi5rD3GBJ8COb9Q609T6HEpLqaBAo560PDP5OxBE5dCI/h951MBO/+bCUYU5SZ+8ZlV+w==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -411,14 +411,14 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.14.tgz", - "integrity": "sha512-sBCQEL5D9MYOI5RvWpYtXJBeFLuGGI40hU7wW4WtDvuSZGi0zDV+cn8y9sJWD5rKpjZdsde0+oJniLbU2vdfIg==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.15.tgz", + "integrity": "sha512-14dKROQSpuNYPw+4wpADe87YLS1VnP/ua3gKTRpEAX1ErBayLMgK/KpWbCP/uYiCSBAVGp/a7bY8MqRfFNRqOQ==", "license": "MIT", "dependencies": { "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.14", - "@babel/types": "^7.29.14" + "@babel/traverse": "^7.29.15", + "@babel/types": "^7.29.15" }, "engines": { "node": ">=6.9.0" @@ -438,12 +438,12 @@ } }, "node_modules/@babel/parser": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.14.tgz", - "integrity": "sha512-VL220vXuyO2z3rNIQwY7ftj9UwpqOt+33sH+sBWkOekbsSR2g7EEMnOx24ZlCH0xOA3DM/33SifVFGbnJD8r/w==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.15.tgz", + "integrity": "sha512-RpKWyisHoP81twtSCgmE02iU0RnPcq1DN5bBEbpUePrjA9Q3wXhufnCJrrayPpoZieqFh3zyZQqwtSK0gGccRA==", "license": "MIT", "dependencies": { - "@babel/types": "^7.29.14" + "@babel/types": "^7.29.15" }, "bin": { "parser": "bin/babel-parser.js" @@ -470,9 +470,9 @@ } }, "node_modules/@babel/plugin-proposal-export-default-from": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.29.7.tgz", - "integrity": "sha512-p+G5BNXDcy3bOXplhY4HybQ1GxH3i2Tppmdm/3epyRu2VgJJZuUlZ61MqRTg582Q7ZLBdP7fePYvsumSEkMxcQ==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.29.15.tgz", + "integrity": "sha512-G9TJJ6ZTxhCGuFlYXB2W8ljMXhkaR2nZEV1DVetC0LgwaibQSVBHq2gD4ldxsfT4/vSzy/V2ARtCmGz1NUlSZg==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" @@ -826,9 +826,9 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.29.13.tgz", - "integrity": "sha512-q7f5zYLtDLqO11ydQK1w2RqZ1m5kmcAlmgZlfXssKgqVyL8+HgDvWXMxvuEz8TuJfq1UNsY9sB6ABjjtQkN6wA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.29.15.tgz", + "integrity": "sha512-jfJWMNOYxJUQ3VMdMF0KpmPaugSKRbwLYqxM8UHOga7jKnlbhe18yhBKwiAkaOWrxmxesONjAhtEqTyn2rB2qg==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" @@ -909,9 +909,9 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.7.tgz", - "integrity": "sha512-24B2nOy2TeJSMheqwPD4DDQOV/elLSIlKxjZt4i05H5AgdPdWR3n18HnNrcJ+j76WJd9gbwb9jPjNYUy6RautA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.15.tgz", + "integrity": "sha512-wUo8dEPcDN/gO5/ZoNLDcAFqbJ//idBuMpprfa7NAZ6+Y3PRShTNLcgnKnBAW6vnEDMHiPDwDi62mM90qz7mcQ==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.29.7" @@ -940,9 +940,9 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.29.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.29.13.tgz", - "integrity": "sha512-dFjiIw+xBYpgLhYDc1QFQOZmMX44se0YCmXUjPsm9SQEj9HaCJAjvVnK6/yK9iE4E1LaKU5fIAKVJPZWCbKwXw==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.29.15.tgz", + "integrity": "sha512-JHa0QfVEG23goXwV1j8HT31EEIZ8nUJBKNTJ/UU1AwfRqY+7xXBEg9M61Tbz60sxKomE2MQBA3vovEbplL964Q==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.29.7", @@ -1308,17 +1308,17 @@ } }, "node_modules/@babel/traverse": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.14.tgz", - "integrity": "sha512-RAdQJrBgmIH1FWvN0X+1hoDxzMzlP4cv/1Zi4dn4tG1H0cTb+rw7CzUxQJhp1f4ANd8j5vH3fy8BAWFGkBDEsA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.15.tgz", + "integrity": "sha512-ZfawBo2i8vvt+BTt37dWDKBPjUfm/H+bw+ltwsCRhW7gPtyNVwUXuNo54eO2Xo+P4VXpalPFfFISbBTRKC8SOQ==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", - "@babel/generator": "^7.29.14", + "@babel/generator": "^7.29.15", "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.14", + "@babel/parser": "^7.29.15", "@babel/template": "^7.29.7", - "@babel/types": "^7.29.14", + "@babel/types": "^7.29.15", "debug": "^4.3.1" }, "engines": { @@ -1326,12 +1326,12 @@ } }, "node_modules/@babel/types": { - "version": "7.29.14", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.14.tgz", - "integrity": "sha512-UjI/dKmwJwT9pOszJitq2G6EObZPnsZUfdCr92z2TlF3EZK9J3EdfOKUrCzHl6wFthbzwhzl1Soc/UIwxRiq6w==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.15.tgz", + "integrity": "sha512-/XKpKDakL//LZ66bq1XsZOswuqeI5MZqPLDu18o3XdkU1fNJ7bdPtzgnc4ZNS+bBGHV0FJG8jjb8SwcC3nNVQQ==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.29.14", + "@babel/helper-string-parser": "^7.29.15", "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { @@ -1605,9 +1605,9 @@ } }, "node_modules/@expo/cli": { - "version": "58.1.20", - "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-58.1.20.tgz", - "integrity": "sha512-VXXcqGuXBngzItcP97ERWON3aHJOeAwDxuRlkxgbYfW9m9DpGHM6umGgjOPWWy14xSArUvwGZpg+D5Ms+hnnkg==", + "version": "58.1.21", + "resolved": "https://registry.npmjs.org/@expo/cli/-/cli-58.1.21.tgz", + "integrity": "sha512-E+27FQ1Y26fVb0p1wVHBFkbe5oQubUXLwF/au5Vy8OCqDWrmbekBQamRI4mBhY15FhZQxAkyK0e6hXcEFKVBOw==", "license": "MIT", "dependencies": { "@expo/code-signing-certificates": "^0.0.7", @@ -1621,7 +1621,7 @@ "@expo/log-box": "^58.0.15", "@expo/log-box-utils": "^58.0.2", "@expo/metro": "~58.0.0", - "@expo/metro-config": "58.0.22", + "@expo/metro-config": "58.0.23", "@expo/metro-file-map": "^58.0.6", "@expo/osascript": "^2.8.1", "@expo/package-manager": "^1.14.2", @@ -1629,7 +1629,7 @@ "@expo/plist": "^0.10.2", "@expo/prebuild-config": "^58.0.20", "@expo/require-utils": "^58.0.6", - "@expo/router-server": "^58.0.22", + "@expo/router-server": "^58.0.23", "@expo/schema-utils": "^58.0.3", "@expo/spawn-async": "^1.8.0", "@expo/ws-tunnel": "^2.0.1", @@ -2026,9 +2026,9 @@ } }, "node_modules/@expo/metro-config": { - "version": "58.0.22", - "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-58.0.22.tgz", - "integrity": "sha512-4sOL3FScET69+EBn8TvdnepcSI6B/mihzYIlLkDf5KfCcnBOpUwH6AhITp+WxE+BowtnCVlQd1vt5lF/nhBSAg==", + "version": "58.0.23", + "resolved": "https://registry.npmjs.org/@expo/metro-config/-/metro-config-58.0.23.tgz", + "integrity": "sha512-cEFdrMxH4cddH9rHDg2FxUAl4FUC7TBs8d8GYE1r+zXOjsScoKrQhMtLOPqIc2VEj3ehUFvto3EycrEgrWck+A==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", @@ -2053,7 +2053,7 @@ "hermes-parser": "^0.36.0", "jsc-safe-url": "^0.2.4", "lightningcss": "^1.30.1", - "noxcturnal": "^0.1.11", + "noxcturnal": "^0.1.14", "picomatch": "^4.0.4", "postcss": "^8.5.23", "resolve-from": "^5.0.0", @@ -2429,9 +2429,9 @@ } }, "node_modules/@expo/metro/node_modules/ws": { - "version": "7.5.13", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.13.tgz", - "integrity": "sha512-rsKI6xDBFVf4r/x8XyChGK04QR/XHroxs/jUcoWvtEZM8TPU/X/uIY9B1CsSzYws9ZJb/6bbBu7dPhFW00CAoA==", + "version": "7.5.14", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.14.tgz", + "integrity": "sha512-u9Oi2nQ8SZnTUAf6spLLKF5TyqoG3Nbbrd4ai6Sjo4P24bycDewhQqtNMIg4bFpnpH/TD4qk4IuAVhT0HIIqug==", "license": "MIT", "engines": { "node": ">=8.3.0" @@ -2785,9 +2785,9 @@ } }, "node_modules/@expo/router-server": { - "version": "58.0.22", - "resolved": "https://registry.npmjs.org/@expo/router-server/-/router-server-58.0.22.tgz", - "integrity": "sha512-e2x3gZRLaGsoU4M6PNkPuHH6/XQolMb6gVlT6dtm1HAO0GYipvX0pVt6nBsf2xuRJU/0hEvRjpI+vLueZDvxoA==", + "version": "58.0.23", + "resolved": "https://registry.npmjs.org/@expo/router-server/-/router-server-58.0.23.tgz", + "integrity": "sha512-Vcd/mskn2BSGt9dVAzAKlUFGbagfUlMT3afTgkw7KDpn8pwtkbm6M4g11158OcVSZ10m3VLvoySeZDFPskHLaQ==", "license": "MIT", "dependencies": { "debug": "^4.3.4" @@ -4990,9 +4990,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-darwin-arm64": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-arm64/-/noxcturnal-darwin-arm64-0.1.12.tgz", - "integrity": "sha512-46MqSBhSPSL/LbY0ZhH2Zh+MJUOLWuwEuk6FQLFeJYFepENuNoWinZO/P7xX3dZQ3g2OrJiPE6iWKMBgoeF+gA==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-arm64/-/noxcturnal-darwin-arm64-0.1.14.tgz", + "integrity": "sha512-5g1fvtfmDsaDzNoqZicO7UKUUaGm9HOTJy30KNxXbSJRreLOQwK0fd0wuAA0OEbBgJSQAvVdAovpjT5HvYRIWw==", "cpu": [ "arm64" ], @@ -5006,9 +5006,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-darwin-x64": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-x64/-/noxcturnal-darwin-x64-0.1.12.tgz", - "integrity": "sha512-Neaz3ytiqwdWkgX8aSxnPVGO1ZmzalUEhWOCo2gWQC6DJAps6BjfjZwhdFtiWCOQ9iuukDkWnaKYZG4N1Ab6Bw==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-darwin-x64/-/noxcturnal-darwin-x64-0.1.14.tgz", + "integrity": "sha512-rnZ8LRa+rYOyHmPS2PpPgxRHaeU0zJZ7Ii8huuAMbADfJHGceGBU8SQYqd7+Vs1VwSUcxRm4BMC4+QL1IgdqrA==", "cpu": [ "x64" ], @@ -5022,9 +5022,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-arm64-gnu": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-gnu/-/noxcturnal-linux-arm64-gnu-0.1.12.tgz", - "integrity": "sha512-amvAnI2qoxJ/LQjFL1pMQHgym/C+SKPATPDcX6W4wcttBRIDh54PbEWKSaWeFoZ1EsqIF2O4SsDXxjImWGVQzw==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-gnu/-/noxcturnal-linux-arm64-gnu-0.1.14.tgz", + "integrity": "sha512-9SZoiNaEKwFJ0V7cgpoCjHLh80fd8/wAJrbG1VWR8DJfkbVBvXhipTnxEISZ0LdidmthpVo0i2GiI6ToUdkmkg==", "cpu": [ "arm64" ], @@ -5038,9 +5038,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-arm64-musl": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-musl/-/noxcturnal-linux-arm64-musl-0.1.12.tgz", - "integrity": "sha512-dTY6LRtSfhZRYRW7Kc4DwAoU8vM0NqopXWWV3RJ8aux8nJ19uhCtRbpEzjIjAT8jG6/Ds5FLEXFqJgVLf4fr2A==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-arm64-musl/-/noxcturnal-linux-arm64-musl-0.1.14.tgz", + "integrity": "sha512-dxZXo7Xj00w8eeFac+ev/75lJd/62GSUIX4wwCN2yYn6r9Jrim3DJ6yKVZwmfqHDE0v55TZsif0/vdhNFxFXfQ==", "cpu": [ "arm64" ], @@ -5054,9 +5054,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-x64-gnu": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-gnu/-/noxcturnal-linux-x64-gnu-0.1.12.tgz", - "integrity": "sha512-v7PyVf9PgGRaFGq8DTilouKHIh/huXqfQOa9hIC7siseaxMzNX/HdweL9ZvXV7ZjkzUbbEZrg3YuIZ874PPYZA==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-gnu/-/noxcturnal-linux-x64-gnu-0.1.14.tgz", + "integrity": "sha512-ek3098/TS+Ma2vJUjzpIZnhU70lryFzFPEdKdQ5u+1w00QKvMg0teFa2mec1H8/ndK74/xYWy8e4d92Uz+s9Dg==", "cpu": [ "x64" ], @@ -5070,9 +5070,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-linux-x64-musl": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-musl/-/noxcturnal-linux-x64-musl-0.1.12.tgz", - "integrity": "sha512-7oWCdgQ2T1qjC05bz8IHzVRdg/yC+3SRZnDxc1xdY/vPKvrMUHJUB7oiKLHbLPtuMx8m5+lagm7RBQabUTBvxw==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-linux-x64-musl/-/noxcturnal-linux-x64-musl-0.1.14.tgz", + "integrity": "sha512-qblXyvGhD5HoJSK32Q8YN6PnEz4GPXgr2KLgStpRG1oG8+BRPlrqZCaQRbQI5Bn3L8NZ+OjyGWhLEG1kgdzHBw==", "cpu": [ "x64" ], @@ -5086,9 +5086,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-win32-arm64-msvc": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-arm64-msvc/-/noxcturnal-win32-arm64-msvc-0.1.12.tgz", - "integrity": "sha512-Ma+0PV4nVdRXCYhgNontvuoAczRC11mbZ18LCaWY2aVTc76HjsQQEFPgXqRNlj2/Rjaax5EXUQqyLYYwI+ZB5A==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-arm64-msvc/-/noxcturnal-win32-arm64-msvc-0.1.14.tgz", + "integrity": "sha512-K9Q82l32juE/p7Ca6p36rAWfNzORkCyoL0R2aDUq3tkYOmivu3xTewnxUwDLTzDIuLsMgb4niy5vrtr4IXdNXw==", "cpu": [ "arm64" ], @@ -5102,9 +5102,9 @@ } }, "node_modules/@noxcturnal/noxcturnal-win32-x64-msvc": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-x64-msvc/-/noxcturnal-win32-x64-msvc-0.1.12.tgz", - "integrity": "sha512-6QcmxWocHLMfQKT5cy0+KbIYbCpaTd50MC/k6t7pQrfnKMKav5tdQi0lsx3WRrIE/5qUNepNx5iv9DjSJTXrGg==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/@noxcturnal/noxcturnal-win32-x64-msvc/-/noxcturnal-win32-x64-msvc-0.1.14.tgz", + "integrity": "sha512-qiiOLLQUYnLZai3traWx90yzMLGZlkvwGNYMFkGw5MwnMifVgfl3Z3ooFiSYaVKjkTYqxBF9rOCvhFL6yXaoxA==", "cpu": [ "x64" ], @@ -7643,9 +7643,9 @@ } }, "node_modules/babel-preset-expo": { - "version": "58.0.25", - "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-58.0.25.tgz", - "integrity": "sha512-uNRXWw2D6FU1hqye42XgbeUx110IxocpfwvV6QUdH7uuYMpqZPtP9Juzl7/HJdzrvrSGSRBBBPua7WlbtE1U7Q==", + "version": "58.0.26", + "resolved": "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-58.0.26.tgz", + "integrity": "sha512-ZCH0nRF6T5Txn2r7FqY66xcYN2ni80WzH3snBA0pFGHZpMeSgaADnb5jJmPGEnWKcb7p34ViGFf17jXoFQ1zGg==", "license": "MIT", "dependencies": { "@babel/generator": "^7.20.5", @@ -7694,7 +7694,7 @@ "peerDependencies": { "@babel/runtime": "^7.20.0", "expo": "*", - "expo-widgets": "^58.0.28", + "expo-widgets": "^58.0.29", "react-refresh": ">=0.14.0 <1.0.0" }, "peerDependenciesMeta": { @@ -9484,13 +9484,13 @@ } }, "node_modules/expo": { - "version": "58.0.25", - "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.25.tgz", - "integrity": "sha512-Ih7pQYPS+2ZFS5APNtgOUp2AK/M+zfILK9Z5/wh6PoLn6XF3dh+nlcvugotytVzf8jX5/NBMcB7xJT+97oaNvw==", + "version": "58.0.26", + "resolved": "https://registry.npmjs.org/expo/-/expo-58.0.26.tgz", + "integrity": "sha512-6i4kqt5lbcQdxmtnkkJ3JR5sn+A3L+xO45duLhh2rndvrek/chX/GTysTYozl4oL3+txKD53pDlJd75XRYf9Ow==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.20.0", - "@expo/cli": "^58.1.20", + "@expo/cli": "^58.1.21", "@expo/config": "~58.0.12", "@expo/config-plugins": "~58.0.13", "@expo/devtools": "~58.0.2", @@ -9500,12 +9500,12 @@ "@expo/log-box": "^58.0.15", "@expo/log-box-utils": "^58.0.2", "@expo/metro": "~58.0.0", - "@expo/metro-config": "~58.0.22", + "@expo/metro-config": "~58.0.23", "@ungap/structured-clone": "^1.3.0", - "babel-preset-expo": "~58.0.25", + "babel-preset-expo": "~58.0.26", "expo-asset": "~58.0.21", "expo-constants": "~58.0.16", - "expo-file-system": "~58.0.13", + "expo-file-system": "~58.0.14", "expo-font": "~58.0.12", "expo-keep-awake": "~58.0.4", "expo-modules-autolinking": "~58.1.0", @@ -9607,12 +9607,12 @@ } }, "node_modules/expo-dev-client": { - "version": "58.0.20", - "resolved": "https://registry.npmjs.org/expo-dev-client/-/expo-dev-client-58.0.20.tgz", - "integrity": "sha512-Wp1q6KfvfwQN72M4lGW5KNnnZtRO3XdgcHstX33NlUE5cV3tw3LGHX6hgHu0xN19zKBK9Wb6yiN7JU7mGApMwQ==", + "version": "58.0.21", + "resolved": "https://registry.npmjs.org/expo-dev-client/-/expo-dev-client-58.0.21.tgz", + "integrity": "sha512-W1ZWddy0p64Z8j8FNOU4bCRDhbU8b5Gt7yZRouiw7bkyCfY5T3yODKTOLCVuhjbs3Oy3aUH6kLdn0i6hXozhqA==", "license": "MIT", "dependencies": { - "expo-dev-launcher": "~58.0.20", + "expo-dev-launcher": "~58.0.21", "expo-dev-menu": "~58.0.13", "expo-dev-menu-interface": "~58.0.2", "expo-manifests": "~58.0.1", @@ -9623,9 +9623,9 @@ } }, "node_modules/expo-dev-launcher": { - "version": "58.0.20", - "resolved": "https://registry.npmjs.org/expo-dev-launcher/-/expo-dev-launcher-58.0.20.tgz", - "integrity": "sha512-tm0K5l40cxYXIxYzcEuAKYnVx6T9o7aAb0gQdfooz4WYPgqf5dHfu5obdWwAvCU6j40hWSHEWaPGfPkoO9O7hQ==", + "version": "58.0.21", + "resolved": "https://registry.npmjs.org/expo-dev-launcher/-/expo-dev-launcher-58.0.21.tgz", + "integrity": "sha512-EAW01s7Y4sT7x1AHDE3Zo3mSa/6y6ImsMRMsIHWhG+5Os4rDzi1yIlXJoP13cNTkciVE5rK2Jt7xj0HkmfPmPA==", "license": "MIT", "dependencies": { "@expo/schema-utils": "^58.0.3", @@ -9660,9 +9660,9 @@ } }, "node_modules/expo-file-system": { - "version": "58.0.13", - "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-58.0.13.tgz", - "integrity": "sha512-+/1aFErkawyky5UdWI06zYeO2DeHUnfaWnYHeiI8M8Z/sB6L66gI3WUxqtvUvKJoaM0Ti1CximD3x3JwteLYIg==", + "version": "58.0.14", + "resolved": "https://registry.npmjs.org/expo-file-system/-/expo-file-system-58.0.14.tgz", + "integrity": "sha512-VK67RQPDmWRHGbvpmPY5MeA1Ulw1LiyKs4KIN8na/q7SlkxYuPPR8biWsyX1S1/8XAHm6y2txUnYjCKh9l93lQ==", "license": "MIT", "peerDependencies": { "expo": "*", @@ -9843,9 +9843,9 @@ } }, "node_modules/expo-router": { - "version": "58.0.31", - "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-58.0.31.tgz", - "integrity": "sha512-ERucCp882Yo3wDUZ/MKwW22UF5MtQxDFIQzWWnFXlqe9gfOnWN/smBcNNhQiVW5je3nX5OOd4o5RlTCojvCIrA==", + "version": "58.0.32", + "resolved": "https://registry.npmjs.org/expo-router/-/expo-router-58.0.32.tgz", + "integrity": "sha512-UEfbsGvjGL8MJXj/NHt/elUupdJ5tUDvaHdSy0fEfIIeUnOqixr6KJZlyv9OrJyl4OYmWt8HuCHDyT5Pzqbfkw==", "license": "MIT", "dependencies": { "@expo/log-box": "^58.0.15", @@ -9863,7 +9863,7 @@ "react-fast-compare": "^3.2.2", "react-is": "^19.1.0", "react-native-drawer-layout": "^4.2.12", - "react-native-screens": "^4.30.1 || ^5.0.0-alpha.3", + "react-native-screens": "^4.30.1 || ^5.0.0-beta.1", "server-only": "^0.0.1", "sf-symbols-typescript": "^2.1.0", "standard-navigation": "^0.0.5" @@ -9871,7 +9871,7 @@ "peerDependencies": { "@expo/log-box": "^58.0.15", "@expo/metro-runtime": "^58.0.17", - "@expo/ui": "^58.0.28", + "@expo/ui": "^58.0.29", "@testing-library/react-native": ">= 14.0.0", "expo": "*", "expo-constants": "^58.0.16", @@ -9883,7 +9883,7 @@ "react-native-gesture-handler": "*", "react-native-reanimated": "*", "react-native-safe-area-context": ">= 5.4.0", - "react-native-screens": "^4.30.1 || ^5.0.0-alpha.3", + "react-native-screens": "^4.30.1 || ^5.0.0-beta.1", "react-native-web": "*", "react-native-worklets": "*", "react-server-dom-webpack": "~19.0.4 || ~19.1.5 || ~19.2.4 || ~19.3.0" @@ -12849,9 +12849,9 @@ } }, "node_modules/jest-expo": { - "version": "58.0.14", - "resolved": "https://registry.npmjs.org/jest-expo/-/jest-expo-58.0.14.tgz", - "integrity": "sha512-LSIlvfPizQHBOmwgEE1qUgOeXl55aWJPXziY5O0iQEUUS+aAF/CWgFEjHmlmMiBx5lfSLkbb05Boi9GIhrTi2g==", + "version": "58.0.15", + "resolved": "https://registry.npmjs.org/jest-expo/-/jest-expo-58.0.15.tgz", + "integrity": "sha512-3m7JlS6Lmay8FfhTFGitmSjktO5uIgerxRidxv223MRauZnJjfxbKzK8A/ATot8Y+1Ac9qZY518+O7RQ2Xe58Q==", "dev": true, "license": "MIT", "dependencies": { @@ -17204,9 +17204,9 @@ } }, "node_modules/noxcturnal": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/noxcturnal/-/noxcturnal-0.1.12.tgz", - "integrity": "sha512-trkrCAq5t1ynqEbGdHGbGo1ItUye1uelApLhmU0/asW5NrfBRsMQDXBOpUTIfpcX7SdAvVjii7cEPIrfIrEVgg==", + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/noxcturnal/-/noxcturnal-0.1.14.tgz", + "integrity": "sha512-dYhWwCVfxlxnyzkVvP6W+XXd7lKikl04YckNur8xV4IejmgYDPq2ykSvzA2zfYVaNgEvmWDceOVRFn3sjry69Q==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.20.0", @@ -17216,14 +17216,14 @@ "node": ">=18" }, "optionalDependencies": { - "@noxcturnal/noxcturnal-darwin-arm64": "0.1.12", - "@noxcturnal/noxcturnal-darwin-x64": "0.1.12", - "@noxcturnal/noxcturnal-linux-arm64-gnu": "0.1.12", - "@noxcturnal/noxcturnal-linux-arm64-musl": "0.1.12", - "@noxcturnal/noxcturnal-linux-x64-gnu": "0.1.12", - "@noxcturnal/noxcturnal-linux-x64-musl": "0.1.12", - "@noxcturnal/noxcturnal-win32-arm64-msvc": "0.1.12", - "@noxcturnal/noxcturnal-win32-x64-msvc": "0.1.12" + "@noxcturnal/noxcturnal-darwin-arm64": "0.1.14", + "@noxcturnal/noxcturnal-darwin-x64": "0.1.14", + "@noxcturnal/noxcturnal-linux-arm64-gnu": "0.1.14", + "@noxcturnal/noxcturnal-linux-arm64-musl": "0.1.14", + "@noxcturnal/noxcturnal-linux-x64-gnu": "0.1.14", + "@noxcturnal/noxcturnal-linux-x64-musl": "0.1.14", + "@noxcturnal/noxcturnal-win32-arm64-msvc": "0.1.14", + "@noxcturnal/noxcturnal-win32-x64-msvc": "0.1.14" } }, "node_modules/npm-package-arg": { @@ -18015,9 +18015,9 @@ } }, "node_modules/postcss": { - "version": "8.5.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", - "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", + "version": "8.5.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", + "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", "funding": [ { "type": "opencollective", @@ -19483,12 +19483,12 @@ } }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz", + "integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==", "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/source-map-support": { diff --git a/apps/collection/package.json b/apps/collection/package.json index 844490d8..fc18ce12 100644 --- a/apps/collection/package.json +++ b/apps/collection/package.json @@ -38,16 +38,16 @@ "@react-native-menu/menu": "^2.0.0", "@react-native-picker/picker": "2.11.4", "@types/react": "~19.3.0", - "expo": "~58.0.25", + "expo": "~58.0.26", "expo-build-properties": "~58.0.12", "expo-constants": "~58.0.14", - "expo-dev-client": "~58.0.20", + "expo-dev-client": "~58.0.21", "expo-font": "~58.0.11", "expo-haptics": "~58.0.8", "expo-linear-gradient": "~58.0.4", "expo-linking": "~58.0.17", "expo-navigation-bar": "~58.0.4", - "expo-router": "~58.0.31", + "expo-router": "~58.0.32", "expo-screen-orientation": "~58.0.4", "expo-splash-screen": "~58.0.14", "expo-status-bar": "~58.0.5", @@ -85,7 +85,7 @@ "eslint-config-prettier": "^10.1.8", "eslint-plugin-react": "^7.37.5", "jest": "30.5.2", - "jest-expo": "58.0.14", + "jest-expo": "~58.0.15", "jest-junit": "16.0.0", "patch-package": "^8.0.1", "prettier": "^3.9.10", From 1e6c9239dbab1cbe3483561952595ef867186d2f Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 16:07:36 -0800 Subject: [PATCH 18/21] fix(collection): preserve match controls during native navigation Keep the match-selection wrapper mounted as a native view when its checking gate resets during Home replacement. This prevents Fabric from reparenting its children inside an active Android screen removal transition. Refs: LVT-262 --- apps/collection/app/home.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/collection/app/home.tsx b/apps/collection/app/home.tsx index bcea4971..206139db 100644 --- a/apps/collection/app/home.tsx +++ b/apps/collection/app/home.tsx @@ -184,6 +184,10 @@ export default function Home() { > From fcfb4bcac2b23ac1812e0634f895f5f734f0dfba Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 21:29:58 -0800 Subject: [PATCH 19/21] test(collection): drive landscape reports with verified Android taps Use the input path proven by native diagnostics, retain per-step selection and Undo assertions, and record JUnit and accessibility snapshots. Exercise outpost intake across match phases without changing the real clock; keep portable iOS Maestro flows. Refs: LVT-262 --- .github/workflows/collection-native-tests.yml | 2 +- apps/collection/.maestro/record-match.yaml | 16 +-- apps/collection/docs/manual-release-checks.md | 15 ++- .../lib/collection/ui/GameViewTemplate.tsx | 5 + .../collection/ui/actions/OutpostAction.tsx | 1 + .../scripts/native-android-journey.py | 117 ++++++++++++++++++ apps/collection/scripts/tap-native-menu.py | 76 ------------ .../collection/scripts/test-native-android.sh | 3 +- .../test/jest/game-overlay-ui.test.tsx | 13 ++ ...nu_input_test.py => android_input_test.py} | 10 +- 10 files changed, 164 insertions(+), 94 deletions(-) create mode 100644 apps/collection/scripts/native-android-journey.py delete mode 100644 apps/collection/scripts/tap-native-menu.py rename apps/collection/test/native/{menu_input_test.py => android_input_test.py} (69%) diff --git a/.github/workflows/collection-native-tests.yml b/.github/workflows/collection-native-tests.yml index d635d269..7c78f4aa 100644 --- a/.github/workflows/collection-native-tests.yml +++ b/.github/workflows/collection-native-tests.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - name: Test native menu selector guards + - name: Test native input and state assertion guards run: python3 -m unittest discover -s apps/collection/test/native -p '*_test.py' - env: RUN_ID: ${{ inputs.candidate_run_id }} diff --git a/apps/collection/.maestro/record-match.yaml b/apps/collection/.maestro/record-match.yaml index e8bee22b..b7ed3f5d 100644 --- a/apps/collection/.maestro/record-match.yaml +++ b/apps/collection/.maestro/record-match.yaml @@ -1,31 +1,31 @@ appId: com.frc8033.lovatcollection --- -# Maestro 2.12.1's Android gRPC tap is ineffective after landscape rotation -# on this API 35 image. Its supported longPressOn uses Android's shell input -# path instead; the controls have no long-press action. Preserve state assertions. -- longPressOn: "Start position Hub" +# Portable iOS flow; Android uses native-android-journey.py for short taps. +- tapOn: "Start position Hub" - assertVisible: text: "Start position Hub" selected: true - assertVisible: text: "Start match" enabled: true -- longPressOn: +- tapOn: text: "Start match" enabled: true - assertNotVisible: "Start position Hub" - assertVisible: text: "Undo" enabled: false -- longPressOn: "Intake from depot" +- tapOn: "Open outpost actions" +- tapOn: "Intake from outpost" - assertVisible: text: "Undo" enabled: true -- longPressOn: "Undo" +- tapOn: "Undo" - assertVisible: text: "Undo" enabled: false -- longPressOn: "Intake from depot" +- tapOn: "Open outpost actions" +- tapOn: "Intake from outpost" - assertVisible: text: "Undo" enabled: true diff --git a/apps/collection/docs/manual-release-checks.md b/apps/collection/docs/manual-release-checks.md index 84632712..88ba8a6b 100644 --- a/apps/collection/docs/manual-release-checks.md +++ b/apps/collection/docs/manual-release-checks.md @@ -72,12 +72,15 @@ procedure is a pending operator check until its actual build/run evidence is attached; a build profile alone is not a passed native test. Physical-device rows above still apply after a simulator pass. -On Android CI, landscape field controls use Maestro's shell-based long press -because the pinned driver's normal tap is ineffective after rotation on the -emulator image. The native End Match menu requires a short tap, so the Android -runner uses `scripts/tap-native-menu.py` in place of `end-match.yaml`. It resolves -fresh accessibility bounds, rejects missing/disabled/ambiguous targets and -retains its UI snapshots and JUnit result. All state assertions remain required. +On Android CI, `scripts/native-android-journey.py` runs the landscape recording +and end-menu steps in place of `record-match.yaml` and `end-match.yaml`. The pinned +Maestro driver's landscape gestures proved ineffective while Android's own short +tap at the same coordinates changed the expected app state. The runner uses +Android short taps with fresh accessibility bounds, rejects missing, disabled or +ambiguous targets, and verifies selection, Start availability and Undo state. +Outpost intake exists in every match phase, so waiting for Android accessibility +snapshots does not race the real Auto timer. Each step retains its UI snapshot +and JUnit result. Bootstrap, offline persistence and reconnect still use Maestro. If CI cannot boot/install, attach its failure and run the same journey on a physical test device. Record that separate result explicitly. Attach redacted diff --git a/apps/collection/lib/collection/ui/GameViewTemplate.tsx b/apps/collection/lib/collection/ui/GameViewTemplate.tsx index ee9b66e6..dacf03e8 100644 --- a/apps/collection/lib/collection/ui/GameViewTemplate.tsx +++ b/apps/collection/lib/collection/ui/GameViewTemplate.tsx @@ -198,6 +198,7 @@ function GameViewOverlay({ return ( setOverlay(true)} color="#C1C337" icon="flag" diff --git a/apps/collection/scripts/native-android-journey.py b/apps/collection/scripts/native-android-journey.py new file mode 100644 index 00000000..d5ad1f06 --- /dev/null +++ b/apps/collection/scripts/native-android-journey.py @@ -0,0 +1,117 @@ +"""Record a report with Android short taps and fresh accessibility bounds. + +Maestro 2.12.1's gRPC taps are ineffective after rotation on the CI image. +Keep real gestures and state assertions rather than relying on driver success. +""" + +from pathlib import Path +import re +import subprocess +import time +import xml.etree.ElementTree as ET + +APP_ID = "com.frc8033.lovatcollection" + + +def node_for(data, label, attribute): + nodes = [ + n for n in ET.fromstring(data).iter("node") + if n.get("package") == APP_ID and n.get(attribute) == label + ] + if len(nodes) != 1: + raise ValueError("Expected exactly one " + label + " " + attribute) + return nodes[0] + + +def tap_point(data, attribute, label="End match"): + node = node_for(data, label, attribute) + if node.get("enabled") != "true": + raise ValueError("Expected enabled " + label) + match = re.fullmatch( + r"\[(\d+),(\d+)\]\[(\d+),(\d+)\]", node.get("bounds", "") + ) + if match is None: + raise ValueError("Invalid control bounds") + x1, y1, x2, y2 = map(int, match.groups()) + if x2 <= x1 or y2 <= y1: + raise ValueError("Control has no visible area") + return ((x1 + x2) // 2, (y1 + y2) // 2) + + +def assert_state(data, label, expected): + node = node_for(data, label, "content-desc") + for key, value in expected.items(): + if node.get(key) != value: + raise AssertionError(label + " expected " + key + "=" + value) + + +def run(): + out = Path(".maestro/results") + out.mkdir(parents=True, exist_ok=True) + suite = ET.Element("testsuite", name="Android landscape report", failures="0") + # Outpost actions exist in Auto, Teleop and Endgame. Accessibility snapshots + # can wait for Android's idle state, so these assertions do not race the + # real match clock or change production match timing for the test. + steps = [ + ("select-hub", "tap", "Start position Hub", "content-desc"), + ("hub-selected", "state", "Start position Hub", {"selected": "true"}), + ("start-enabled", "state", "Start match", {"enabled": "true"}), + ("start-match", "tap", "Start match", "content-desc"), + ("undo-empty", "state", "Undo", {"enabled": "false"}), + ("open-first-intake", "tap", "Open outpost actions", "content-desc"), + ("first-intake", "tap", "Intake from outpost", "content-desc"), + ("undo-available", "state", "Undo", {"enabled": "true"}), + ("undo-intake", "tap", "Undo", "content-desc"), + ("undo-cleared", "state", "Undo", {"enabled": "false"}), + ("open-final-intake", "tap", "Open outpost actions", "content-desc"), + ("final-intake", "tap", "Intake from outpost", "content-desc"), + ("final-event-recorded", "state", "Undo", {"enabled": "true"}), + ("open-end-menu", "tap", "End match", "content-desc"), + ("confirm-end", "tap", "End match", "text"), + ] + try: + for name, action, label, condition in steps: + case = ET.SubElement(suite, "testcase", name=name) + try: + deadline = time.monotonic() + 30 + while True: + subprocess.run( + ["adb", "shell", "uiautomator", "dump", "/sdcard/collection-menu.xml"], + check=True, timeout=20, + ) + data = subprocess.check_output( + ["adb", "exec-out", "cat", "/sdcard/collection-menu.xml"], + timeout=10, + ) + (out / (name + ".xml")).write_bytes(data) + try: + if action == "state": + assert_state(data, label, condition) + else: + x, y = tap_point(data, condition, label) + break + except (ValueError, AssertionError): + if time.monotonic() >= deadline: + raise + time.sleep(0.25) + if action == "tap": + print(name, "Android input tap at", x, y, flush=True) + subprocess.run( + ["adb", "shell", "input", "tap", str(x), str(y)], + check=True, timeout=10, + ) + else: + print(name, "state assertion passed", flush=True) + except Exception as error: + suite.set("failures", "1") + ET.SubElement(case, "failure", message=str(error)).text = repr(error) + raise + finally: + suite.set("tests", str(len(suite.findall("testcase")))) + ET.ElementTree(suite).write( + out / "record-match.xml", encoding="utf-8", xml_declaration=True + ) + + +if __name__ == "__main__": + run() diff --git a/apps/collection/scripts/tap-native-menu.py b/apps/collection/scripts/tap-native-menu.py deleted file mode 100644 index 29a13bdf..00000000 --- a/apps/collection/scripts/tap-native-menu.py +++ /dev/null @@ -1,76 +0,0 @@ -"""Tap Android's native End Match menu using its actual accessibility bounds. - -Maestro 2.12.1's gRPC taps are ineffective after rotation on the CI image. -Unlike the field buttons, this menu distinguishes short taps from long presses. -""" - -from pathlib import Path -import re -import subprocess -import time -import xml.etree.ElementTree as ET - -APP_ID = "com.frc8033.lovatcollection" - - -def tap_point(data, attribute): - nodes = [ - n for n in ET.fromstring(data).iter("node") - if n.get("package") == APP_ID and n.get(attribute) == "End match" - ] - if len(nodes) != 1 or nodes[0].get("enabled") != "true": - raise ValueError("Expected exactly one enabled End match " + attribute) - match = re.fullmatch( - r"\[(\d+),(\d+)\]\[(\d+),(\d+)\]", nodes[0].get("bounds", "") - ) - if match is None: - raise ValueError("Invalid menu bounds") - x1, y1, x2, y2 = map(int, match.groups()) - if x2 <= x1 or y2 <= y1: - raise ValueError("Menu target has no visible area") - return ((x1 + x2) // 2, (y1 + y2) // 2) - - -def run(): - out = Path(".maestro/results") - suite = ET.Element("testsuite", name="Android native end menu", failures="0") - try: - for name, attribute in [("open-menu", "content-desc"), ("confirm-end", "text")]: - case = ET.SubElement(suite, "testcase", name=name) - try: - deadline = time.monotonic() + 30 - while True: - subprocess.run( - ["adb", "shell", "uiautomator", "dump", "/sdcard/collection-menu.xml"], - check=True, timeout=20, - ) - data = subprocess.check_output( - ["adb", "exec-out", "cat", "/sdcard/collection-menu.xml"], - timeout=10, - ) - (out / (name + ".xml")).write_bytes(data) - try: - x, y = tap_point(data, attribute) - break - except ValueError: - if time.monotonic() >= deadline: - raise - time.sleep(0.25) - print(name, "Android input tap at", x, y, flush=True) - subprocess.run( - ["adb", "shell", "input", "tap", str(x), str(y)], - check=True, timeout=10, - ) - except Exception as error: - suite.set("failures", "1") - ET.SubElement(case, "failure", message=str(error)).text = repr(error) - raise - finally: - suite.set("tests", str(len(suite.findall("testcase")))) - ET.ElementTree(suite).write( - out / "end-match.xml", encoding="utf-8", xml_declaration=True - ) - - -if __name__ == "__main__": - run() diff --git a/apps/collection/scripts/test-native-android.sh b/apps/collection/scripts/test-native-android.sh index aa0d835d..f6a8a613 100644 --- a/apps/collection/scripts/test-native-android.sh +++ b/apps/collection/scripts/test-native-android.sh @@ -65,8 +65,7 @@ adb shell cmd connectivity airplane-mode enable # the app process and report state. Keep selection/start assertions in the # landscape session rather than relying on a successful input command. maestro test --debug-output .maestro/results/enter-game-debug --test-output-dir .maestro/results/enter-game-debug --format junit --output .maestro/results/enter-game.xml .maestro/enter-game.yaml -maestro test --debug-output .maestro/results/record-match-debug --test-output-dir .maestro/results/record-match-debug --format junit --output .maestro/results/record-match.xml .maestro/record-match.yaml -python3 scripts/tap-native-menu.py +python3 scripts/native-android-journey.py maestro test --debug-output .maestro/results/offline-debug --test-output-dir .maestro/results/offline-debug --format junit --output .maestro/results/offline.xml .maestro/offline-restart.yaml adb shell cmd connectivity airplane-mode disable start_fixture diff --git a/apps/collection/test/jest/game-overlay-ui.test.tsx b/apps/collection/test/jest/game-overlay-ui.test.tsx index 1f3737ce..cdfb1fa0 100644 --- a/apps/collection/test/jest/game-overlay-ui.test.tsx +++ b/apps/collection/test/jest/game-overlay-ui.test.tsx @@ -6,6 +6,8 @@ import { PreMatchActions } from "../../lib/collection/ui/actions/PreMatchActions import { useReportStateStore } from "../../lib/collection/reportStateStore"; import { useTeamStore } from "../../lib/storage/userStores"; import { meta } from "./fixtures"; +import { MatchEventType } from "../../lib/collection/MatchEventType"; +import { MatchEventPosition } from "../../lib/collection/MatchEventPosition"; jest.mock("@react-native-menu/menu", () => ({ MenuView: () => null })); jest.mock("../../lib/training/TrainingReadyButton", () => ({ @@ -36,6 +38,17 @@ test("closed outpost actions leave no hidden touch controls over the field", asy await view.rerender(); await userEvent.setup().press(screen.getByLabelText("Close Overlay")); expect(setOverlay).toHaveBeenCalledWith(false); + setOverlay.mockClear(); + await userEvent + .setup() + .press(screen.getByRole("button", { name: "Intake from outpost" })); + expect(useReportStateStore.getState().events).toEqual([ + expect.objectContaining({ + type: MatchEventType.Intake, + position: MatchEventPosition.Outpost, + }), + ]); + expect(setOverlay).toHaveBeenCalledWith(false); await view.rerender(); expect( screen.queryByLabelText("Close Overlay", { includeHiddenElements: true }), diff --git a/apps/collection/test/native/menu_input_test.py b/apps/collection/test/native/android_input_test.py similarity index 69% rename from apps/collection/test/native/menu_input_test.py rename to apps/collection/test/native/android_input_test.py index 956bf1de..5f0f737e 100644 --- a/apps/collection/test/native/menu_input_test.py +++ b/apps/collection/test/native/android_input_test.py @@ -2,7 +2,7 @@ from pathlib import Path import unittest -spec = importlib.util.spec_from_file_location("menu_input", Path(__file__).resolve().parents[2] / "scripts/tap-native-menu.py") +spec = importlib.util.spec_from_file_location("menu_input", Path(__file__).resolve().parents[2] / "scripts/native-android-journey.py") menu = importlib.util.module_from_spec(spec) spec.loader.exec_module(menu) @@ -25,6 +25,14 @@ def test_rejects_disabled_missing_ambiguous_or_invalid_targets(self): with self.subTest(data=data), self.assertRaises(ValueError): menu.tap_point(data, "content-desc") + def test_state_assertions_reject_wrong_or_absent_state(self): + menu.assert_state(self.node(selected="true"), "End match", {"selected": "true"}) + menu.assert_state(self.node(enabled="false"), "End match", {"enabled": "false"}) + with self.assertRaises(AssertionError): + menu.assert_state(self.node(selected="false"), "End match", {"selected": "true"}) + with self.assertRaises(ValueError): + menu.assert_state(b"", "End match", {"enabled": "false"}) + if __name__ == "__main__": unittest.main() From 55fbf8801ef6eb3656d485bce90a5004da9ac900 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 21:49:13 -0800 Subject: [PATCH 20/21] test(collection): acknowledge Android immersive education before field input Detect the exact system hint from its active-window package and resource IDs, require one enabled confirmation target, then read the app window again. Retain the captured hint and reject unrelated or ambiguous dialogs. Refs: LVT-262 --- apps/collection/docs/manual-release-checks.md | 9 +++-- .../scripts/native-android-journey.py | 36 +++++++++++++++++-- .../test/native/android_input_test.py | 24 +++++++++++++ .../fixtures/immersive-confirmation.xml | 1 + 4 files changed, 64 insertions(+), 6 deletions(-) create mode 100644 apps/collection/test/native/fixtures/immersive-confirmation.xml diff --git a/apps/collection/docs/manual-release-checks.md b/apps/collection/docs/manual-release-checks.md index 88ba8a6b..2692c455 100644 --- a/apps/collection/docs/manual-release-checks.md +++ b/apps/collection/docs/manual-release-checks.md @@ -73,9 +73,12 @@ attached; a build profile alone is not a passed native test. Physical-device rows above still apply after a simulator pass. On Android CI, `scripts/native-android-journey.py` runs the landscape recording -and end-menu steps in place of `record-match.yaml` and `end-match.yaml`. The pinned -Maestro driver's landscape gestures proved ineffective while Android's own short -tap at the same coordinates changed the expected app state. The runner uses +and end-menu steps in place of `record-match.yaml` and `end-match.yaml`. Android's +first-use full-screen hint can cover the field while the underlying app controls +remain discoverable. The runner acknowledges only the system immersive hint, +identified by its Android package and specific title/button resource IDs, then +reads the active window again before selecting an app control. It retains the +hint snapshot and rejects disabled or ambiguous confirmation buttons. It uses Android short taps with fresh accessibility bounds, rejects missing, disabled or ambiguous targets, and verifies selection, Start availability and Undo state. Outpost intake exists in every match phase, so waiting for Android accessibility diff --git a/apps/collection/scripts/native-android-journey.py b/apps/collection/scripts/native-android-journey.py index d5ad1f06..8ab9e362 100644 --- a/apps/collection/scripts/native-android-journey.py +++ b/apps/collection/scripts/native-android-journey.py @@ -1,7 +1,7 @@ """Record a report with Android short taps and fresh accessibility bounds. -Maestro 2.12.1's gRPC taps are ineffective after rotation on the CI image. -Keep real gestures and state assertions rather than relying on driver success. +Android's first-use immersive hint can cover app controls. Resolve the active +window and acknowledge only that known hint before requiring app assertions. """ from pathlib import Path @@ -25,8 +25,12 @@ def node_for(data, label, attribute): def tap_point(data, attribute, label="End match"): node = node_for(data, label, attribute) + return point_for(node) + + +def point_for(node): if node.get("enabled") != "true": - raise ValueError("Expected enabled " + label) + raise ValueError("Expected enabled control") match = re.fullmatch( r"\[(\d+),(\d+)\]\[(\d+),(\d+)\]", node.get("bounds", "") ) @@ -38,6 +42,19 @@ def tap_point(data, attribute, label="End match"): return ((x1 + x2) // 2, (y1 + y2) // 2) +def immersive_confirmation_point(data): + nodes = list(ET.fromstring(data).iter("node")) + titles = [n for n in nodes if n.get("package") == "android" + and n.get("resource-id") == "android:id/immersive_cling_title"] + if not titles: + return None + buttons = [n for n in nodes if n.get("package") == "android" + and n.get("resource-id") == "android:id/ok"] + if len(titles) != 1 or len(buttons) != 1: + raise ValueError("Ambiguous Android immersive confirmation") + return point_for(buttons[0]) + + def assert_state(data, label, expected): node = node_for(data, label, "content-desc") for key, value in expected.items(): @@ -84,6 +101,19 @@ def run(): timeout=10, ) (out / (name + ".xml")).write_bytes(data) + confirmation = immersive_confirmation_point(data) + if confirmation is not None: + (out / "immersive-confirmation.xml").write_bytes(data) + if time.monotonic() >= deadline: + raise AssertionError("Android immersive hint did not dismiss") + print("Dismissing Android immersive education", flush=True) + subprocess.run( + ["adb", "shell", "input", "tap", *map(str, confirmation)], + check=True, timeout=10, + ) + # Read the active window again; never use the app's + # behind-dialog bounds as evidence that it is tappable. + continue try: if action == "state": assert_state(data, label, condition) diff --git a/apps/collection/test/native/android_input_test.py b/apps/collection/test/native/android_input_test.py index 5f0f737e..6fd0b787 100644 --- a/apps/collection/test/native/android_input_test.py +++ b/apps/collection/test/native/android_input_test.py @@ -33,6 +33,30 @@ def test_state_assertions_reject_wrong_or_absent_state(self): with self.assertRaises(ValueError): menu.assert_state(b"", "End match", {"enabled": "false"}) + def test_recognizes_captured_android_immersive_confirmation(self): + data = (Path(__file__).parent / "fixtures/immersive-confirmation.xml").read_bytes() + self.assertEqual(menu.immersive_confirmation_point(data), (510, 190)) + # An app button or another system OK dialog must never be acknowledged. + self.assertIsNone(menu.immersive_confirmation_point(self.node(text="Got it"))) + self.assertIsNone(menu.immersive_confirmation_point( + b'' + )) + + def test_immersive_confirmation_rejects_disabled_or_ambiguous_button(self): + import xml.etree.ElementTree as ET + data = (Path(__file__).parent / "fixtures/immersive-confirmation.xml").read_bytes() + for mode in ["disabled", "duplicate", "wrong-package"]: + root = ET.fromstring(data) + button = next(n for n in root.iter("node") if n.get("resource-id") == "android:id/ok") + if mode == "disabled": + button.set("enabled", "false") + elif mode == "wrong-package": + button.set("package", "other.app") + else: + root.append(ET.fromstring(ET.tostring(button))) + with self.subTest(mode=mode), self.assertRaises(ValueError): + menu.immersive_confirmation_point(ET.tostring(root)) + if __name__ == "__main__": unittest.main() diff --git a/apps/collection/test/native/fixtures/immersive-confirmation.xml b/apps/collection/test/native/fixtures/immersive-confirmation.xml new file mode 100644 index 00000000..889cad34 --- /dev/null +++ b/apps/collection/test/native/fixtures/immersive-confirmation.xml @@ -0,0 +1 @@ + \ No newline at end of file From 10776a4b4286ece914dfa8994e1be64ac3353982 Mon Sep 17 00:00:00 2001 From: jackshim415 Date: Fri, 20 Nov 2026 22:17:50 -0800 Subject: [PATCH 21/21] test(collection): capture native setup before the match timer starts Limit global-idle UI capture to static pre-match preparation and run timed recording and menu assertions through Maestro. Delete old device snapshots before capture, and regress the zero-exit idle failure so stale XML cannot pass a test. Refs: LVT-262 --- apps/collection/.maestro/record-match.yaml | 2 +- apps/collection/docs/manual-release-checks.md | 25 ++++---- ...d-journey.py => prepare-native-android.py} | 55 +++++------------ .../collection/scripts/test-native-android.sh | 4 +- .../test/native/android_input_test.py | 60 +++++++++++++++---- 5 files changed, 83 insertions(+), 63 deletions(-) rename apps/collection/scripts/{native-android-journey.py => prepare-native-android.py} (65%) diff --git a/apps/collection/.maestro/record-match.yaml b/apps/collection/.maestro/record-match.yaml index b7ed3f5d..35b3af17 100644 --- a/apps/collection/.maestro/record-match.yaml +++ b/apps/collection/.maestro/record-match.yaml @@ -1,6 +1,6 @@ appId: com.frc8033.lovatcollection --- -# Portable iOS flow; Android uses native-android-journey.py for short taps. +# Shared installed-app flow; Android dismisses its system hint before this flow. - tapOn: "Start position Hub" - assertVisible: text: "Start position Hub" diff --git a/apps/collection/docs/manual-release-checks.md b/apps/collection/docs/manual-release-checks.md index 2692c455..dc09ae5f 100644 --- a/apps/collection/docs/manual-release-checks.md +++ b/apps/collection/docs/manual-release-checks.md @@ -72,18 +72,19 @@ procedure is a pending operator check until its actual build/run evidence is attached; a build profile alone is not a passed native test. Physical-device rows above still apply after a simulator pass. -On Android CI, `scripts/native-android-journey.py` runs the landscape recording -and end-menu steps in place of `record-match.yaml` and `end-match.yaml`. Android's -first-use full-screen hint can cover the field while the underlying app controls -remain discoverable. The runner acknowledges only the system immersive hint, -identified by its Android package and specific title/button resource IDs, then -reads the active window again before selecting an app control. It retains the -hint snapshot and rejects disabled or ambiguous confirmation buttons. It uses -Android short taps with fresh accessibility bounds, rejects missing, disabled or -ambiguous targets, and verifies selection, Start availability and Undo state. -Outpost intake exists in every match phase, so waiting for Android accessibility -snapshots does not race the real Auto timer. Each step retains its UI snapshot -and JUnit result. Bootstrap, offline persistence and reconnect still use Maestro. +On Android CI, `scripts/prepare-native-android.py` runs before the shared +`record-match.yaml` and `end-match.yaml` Maestro flows. It acknowledges only +Android's known first-use full-screen hint, identified by its Android package and +specific title/button resource IDs, then reads the active window again. It +retains the hint snapshot and rejects disabled or ambiguous confirmations. +Preparation requires the field to be enabled and Start to remain disabled. + +Android's `uiautomator dump` CLI waits for global idle and cannot reliably capture +the running match timer. It is used only during static pre-match preparation; +Maestro performs every timed recording, Undo, end-menu, offline and reconnect +assertion. Outpost intake exists in every phase, so the flow does not race the +real Auto timer. Failed idle capture cannot reuse an old snapshot. Each stage +retains its JUnit result and diagnostics. If CI cannot boot/install, attach its failure and run the same journey on a physical test device. Record that separate result explicitly. Attach redacted diff --git a/apps/collection/scripts/native-android-journey.py b/apps/collection/scripts/prepare-native-android.py similarity index 65% rename from apps/collection/scripts/native-android-journey.py rename to apps/collection/scripts/prepare-native-android.py index 8ab9e362..5e3a75ae 100644 --- a/apps/collection/scripts/native-android-journey.py +++ b/apps/collection/scripts/prepare-native-android.py @@ -1,4 +1,4 @@ -"""Record a report with Android short taps and fresh accessibility bounds. +"""Prepare Android full-screen state before the real match timer starts. Android's first-use immersive hint can cover app controls. Resolve the active window and acknowledge only that known hint before requiring app assertions. @@ -23,11 +23,6 @@ def node_for(data, label, attribute): return nodes[0] -def tap_point(data, attribute, label="End match"): - node = node_for(data, label, attribute) - return point_for(node) - - def point_for(node): if node.get("enabled") != "true": raise ValueError("Expected enabled control") @@ -65,33 +60,25 @@ def assert_state(data, label, expected): def run(): out = Path(".maestro/results") out.mkdir(parents=True, exist_ok=True) - suite = ET.Element("testsuite", name="Android landscape report", failures="0") - # Outpost actions exist in Auto, Teleop and Endgame. Accessibility snapshots - # can wait for Android's idle state, so these assertions do not race the - # real match clock or change production match timing for the test. + suite = ET.Element("testsuite", name="Android pre-match preparation", failures="0") + # UI Automator's CLI requires global idle. Use it only before Start; Maestro + # owns all recording assertions once the real timer updates every second. steps = [ - ("select-hub", "tap", "Start position Hub", "content-desc"), - ("hub-selected", "state", "Start position Hub", {"selected": "true"}), - ("start-enabled", "state", "Start match", {"enabled": "true"}), - ("start-match", "tap", "Start match", "content-desc"), - ("undo-empty", "state", "Undo", {"enabled": "false"}), - ("open-first-intake", "tap", "Open outpost actions", "content-desc"), - ("first-intake", "tap", "Intake from outpost", "content-desc"), - ("undo-available", "state", "Undo", {"enabled": "true"}), - ("undo-intake", "tap", "Undo", "content-desc"), - ("undo-cleared", "state", "Undo", {"enabled": "false"}), - ("open-final-intake", "tap", "Open outpost actions", "content-desc"), - ("final-intake", "tap", "Intake from outpost", "content-desc"), - ("final-event-recorded", "state", "Undo", {"enabled": "true"}), - ("open-end-menu", "tap", "End match", "content-desc"), - ("confirm-end", "tap", "End match", "text"), + ("field-available", "Start position Hub", {"enabled": "true"}), + ("match-not-started", "Start match", {"enabled": "false"}), ] try: - for name, action, label, condition in steps: + for name, label, expected in steps: case = ET.SubElement(suite, "testcase", name=name) try: deadline = time.monotonic() + 30 while True: + # Never reuse an earlier dump when Android reports that it + # could not reach idle but still exits with status zero. + subprocess.run( + ["adb", "shell", "rm", "-f", "/sdcard/collection-menu.xml"], + check=True, timeout=10, + ) subprocess.run( ["adb", "shell", "uiautomator", "dump", "/sdcard/collection-menu.xml"], check=True, timeout=20, @@ -115,23 +102,13 @@ def run(): # behind-dialog bounds as evidence that it is tappable. continue try: - if action == "state": - assert_state(data, label, condition) - else: - x, y = tap_point(data, condition, label) + assert_state(data, label, expected) break except (ValueError, AssertionError): if time.monotonic() >= deadline: raise time.sleep(0.25) - if action == "tap": - print(name, "Android input tap at", x, y, flush=True) - subprocess.run( - ["adb", "shell", "input", "tap", str(x), str(y)], - check=True, timeout=10, - ) - else: - print(name, "state assertion passed", flush=True) + print(name, "state assertion passed", flush=True) except Exception as error: suite.set("failures", "1") ET.SubElement(case, "failure", message=str(error)).text = repr(error) @@ -139,7 +116,7 @@ def run(): finally: suite.set("tests", str(len(suite.findall("testcase")))) ET.ElementTree(suite).write( - out / "record-match.xml", encoding="utf-8", xml_declaration=True + out / "prepare-landscape.xml", encoding="utf-8", xml_declaration=True ) diff --git a/apps/collection/scripts/test-native-android.sh b/apps/collection/scripts/test-native-android.sh index f6a8a613..623fa7cd 100644 --- a/apps/collection/scripts/test-native-android.sh +++ b/apps/collection/scripts/test-native-android.sh @@ -65,7 +65,9 @@ adb shell cmd connectivity airplane-mode enable # the app process and report state. Keep selection/start assertions in the # landscape session rather than relying on a successful input command. maestro test --debug-output .maestro/results/enter-game-debug --test-output-dir .maestro/results/enter-game-debug --format junit --output .maestro/results/enter-game.xml .maestro/enter-game.yaml -python3 scripts/native-android-journey.py +python3 scripts/prepare-native-android.py +maestro test --debug-output .maestro/results/record-match-debug --test-output-dir .maestro/results/record-match-debug --format junit --output .maestro/results/record-match.xml .maestro/record-match.yaml +maestro test --debug-output .maestro/results/end-match-debug --test-output-dir .maestro/results/end-match-debug --format junit --output .maestro/results/end-match.xml .maestro/end-match.yaml maestro test --debug-output .maestro/results/offline-debug --test-output-dir .maestro/results/offline-debug --format junit --output .maestro/results/offline.xml .maestro/offline-restart.yaml adb shell cmd connectivity airplane-mode disable start_fixture diff --git a/apps/collection/test/native/android_input_test.py b/apps/collection/test/native/android_input_test.py index 6fd0b787..50c2283b 100644 --- a/apps/collection/test/native/android_input_test.py +++ b/apps/collection/test/native/android_input_test.py @@ -1,29 +1,36 @@ import importlib.util from pathlib import Path import unittest +import xml.etree.ElementTree as ET +from tempfile import TemporaryDirectory +from unittest.mock import patch +import subprocess -spec = importlib.util.spec_from_file_location("menu_input", Path(__file__).resolve().parents[2] / "scripts/native-android-journey.py") +spec = importlib.util.spec_from_file_location("menu_input", Path(__file__).resolve().parents[2] / "scripts/prepare-native-android.py") menu = importlib.util.module_from_spec(spec) spec.loader.exec_module(menu) -class MenuInputTest(unittest.TestCase): +class NativePreparationTest(unittest.TestCase): def node(self, **overrides): import xml.etree.ElementTree as ET attrs = {"package": menu.APP_ID, "content-desc": "End match", "enabled": "true", "bounds": "[572,7][622,53]"} attrs.update(overrides) return ET.tostring(ET.Element("node", attrs)) - def test_uses_current_bounds_and_separates_icon_from_menu_item(self): - self.assertEqual(menu.tap_point(self.node(), "content-desc"), (597, 30)) - self.assertEqual(menu.tap_point(self.node(text="End match", bounds="[350,60][620,110]"), "text"), (485, 85)) - with self.assertRaises(ValueError): - menu.tap_point(self.node(), "text") + def test_uses_current_control_bounds(self): + self.assertEqual(menu.point_for(ET.fromstring(self.node())), (597, 30)) + self.assertEqual(menu.point_for(ET.fromstring(self.node(bounds="[350,60][620,110]"))), (485, 85)) + + def test_rejects_disabled_or_invalid_control_bounds(self): + for data in [self.node(enabled="false"), self.node(bounds="[1,2][1,2]"), self.node(bounds="bad")]: + with self.subTest(data=data), self.assertRaises(ValueError): + menu.point_for(ET.fromstring(data)) - def test_rejects_disabled_missing_ambiguous_or_invalid_targets(self): - for data in [b"", self.node(enabled="false"), self.node(package="other.app"), self.node(bounds="[1,2][1,2]"), self.node(bounds="bad"), b"" + self.node() + self.node() + b""]: + def test_app_state_rejects_missing_wrong_app_or_ambiguous_nodes(self): + for data in [b"", self.node(package="other.app"), b"" + self.node() + self.node() + b""]: with self.subTest(data=data), self.assertRaises(ValueError): - menu.tap_point(data, "content-desc") + menu.assert_state(data, "End match", {"enabled": "true"}) def test_state_assertions_reject_wrong_or_absent_state(self): menu.assert_state(self.node(selected="true"), "End match", {"selected": "true"}) @@ -57,6 +64,39 @@ def test_immersive_confirmation_rejects_disabled_or_ambiguous_button(self): with self.subTest(mode=mode), self.assertRaises(ValueError): menu.immersive_confirmation_point(ET.tostring(root)) + def test_failed_idle_capture_cannot_pass_using_a_stale_dump(self): + # The real CLI prints an idle error but exits zero and leaves its old + # XML behind. That stale XML would satisfy both preparation assertions. + stale = b'' + self.node(**{ + "content-desc": "Start position Hub" + }) + self.node(**{ + "content-desc": "Start match", "enabled": "false" + }) + b'' + with TemporaryDirectory() as directory: + root = Path(directory) + remote = root / "device-ui.xml" + remote.write_bytes(stale) + + def run_command(args, **kwargs): + if args[1:4] == ["shell", "rm", "-f"]: + remote.unlink(missing_ok=True) + # A failed dump intentionally produces no new file. + return subprocess.CompletedProcess(args, 0) + + def read_command(args, **kwargs): + if not remote.exists(): + raise subprocess.CalledProcessError(1, args) + return remote.read_bytes() + + with patch.object(menu, "Path", side_effect=lambda p: root / p), \ + patch.object(menu.subprocess, "run", side_effect=run_command), \ + patch.object(menu.subprocess, "check_output", side_effect=read_command), \ + self.assertRaises(subprocess.CalledProcessError): + menu.run() + report = ET.parse(root / ".maestro/results/prepare-landscape.xml") + self.assertEqual(report.getroot().get("failures"), "1") + self.assertIsNotNone(report.find("testcase/failure")) + if __name__ == "__main__": unittest.main()