The Android UI integration test failed at tap(aliceTile) with "0 widgets" even though pumpUntil had just found the tile. On the slow software-rendered emulator the route-pop animation finalises during pumpUntil's trailing 300 ms settle, briefly leaving the tile out of the tree. Re-confirm with a second pumpUntil before the tap. Bundles the previously uncommitted infra changes that make task deploy-android run end-to-end inside nix develop: Linux desktop runtime libs + GL software rendering env in flake.nix, path_provider_android pin to <2.3 to avoid the libdartjni SIGSEGV, deferred DB-path resolution after WidgetsFlutterBinding, +iglx for xvfb-run, platform-tools on PATH, and a single pre-commit script replacing the dart-format / task-check-fast pair. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
490 B
Bash
19 lines
490 B
Bash
# shellcheck shell=bash
|
|
|
|
# .envrc file of direnv.
|
|
# If you use vsode, pleaes use the `direnv` extension.
|
|
|
|
# Use nix-direnv
|
|
# https://github.com/nix-community/nix-direnv
|
|
# Ensures that flake.nix gets evaluated.
|
|
use flake
|
|
|
|
# Flutter via FVM — .fvmrc pins the version; fvm use creates .fvm/flutter_sdk.
|
|
# This must come after `use flake` so FVM Flutter takes precedence.
|
|
PATH_add .fvm/flutter_sdk/bin
|
|
|
|
PATH_add "$HOME/Android/Sdk/platform-tools"
|
|
|
|
# Load variables from .env
|
|
dotenv_if_exists
|