Tauri 2 Mobile & PWA Bubblewrap (TWA) Closed Testing Playbook: Digital Asset Links & NDK r28

Ship Tauri 2 Rust-powered Android App Bundles or Bubblewrap Trusted Web Activities (TWA) through Google Play's 12-tester, 14-day closed testing without URL bar leaks or 16 KB NDK failures.

npx @tauri-apps/cli android build --aab --target aarch64
[
  {
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "com.example.twaapp",
      "sha256_cert_fingerprints": [
        "AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99",
        "11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00"
      ]
    }
  }
]

Choosing & Configuring Tauri 2 Android vs. Bubblewrap Trusted Web Activities

Web and systems engineers targeting Google Play without React Native or Flutter typically choose between two lightweight architectures: **Tauri 2 Mobile** (which bundles static frontend assets locally alongside a compiled Rust `wry`/`tao` JNI library inside `src-tauri/gen/android`) and **PWA Bubblewrap / PWABuilder Trusted Web Activities (TWA)** (which launches your live HTTPS Progressive Web App full-screen inside the user's Chrome engine via `androidbrowserhelper`). Both compile genuine `.aab` packages subject to Google Play's 12-tester, 14-consecutive-day Closed Testing policy on personal developer accounts.

For **Bubblewrap TWA** apps (`@bubblewrap/cli` -> `bubblewrap build`), the #1 failure mode during closed testing is Digital Asset Links verification. Because Google Play App Signing strips your local upload signature and re-signs split APKs with Google's production key, you must copy the **App signing key certificate SHA-256** from `Play Console -> Test and release -> Setup -> App signing` into `https://<your-domain>/.well-known/assetlinks.json` served with `Content-Type: application/json` and HTTP 200 (zero redirects). Without that exact SHA-256 entry, every closed tester sees a visible Chrome URL bar across the top of your app, almost guaranteeing a Play Console 'WebView/Website wrapper' rejection.

For **Tauri 2 Mobile** apps (`tauri android init` / `tauri android build --aab`), frontend HTML/JS/CSS lives offline inside the signed bundle while Rust commands execute over JNI. Upgrade `ANDROID_NDK_HOME` to **NDK r28+** (or pass `RUSTFLAGS="-C link-arg=-Wl,-z,max-page-size=16384"` in `.cargo/config.toml`) so your compiled `libapp_lib.so` satisfies Android 15/16 16 KB memory page alignment on first upload.

Offline Resilience, Rust Panic Safety & Physical-Device ADB Telemetry

Whether shipping Tauri 2 or a TWA, Google Play reviewers test cold-start behavior under degraded or offline network conditions. In a TWA, ensure `bubblewrap` generates a native offline fallback screen or verify your Workbox Service Worker pre-caches the app shell so offline launches display an intentional mobile UI. In Tauri 2, guard every `#[tauri::command]` Rust handler against `.unwrap()` panics across FFI boundaries; an uncaught Rust panic crossing JNI aborts the entire Android process (`SIGABRT`) and increments your Android Vitals user-perceived crash rate.

During GOOtester Standard ($12, 15 human testers / 16 days) and Premium ($20, 25 human testers / 24 days) campaigns, separate automated physical-device ARM64 ADB QA runs inspect cold boot, App Link verification state, `dumpsys meminfo` RAM PSS, and `dumpsys gfxinfo` frame rendering while keeping automated ADB telemetry strictly isolated from your 12, 15, or 25 consented human testers.

Audit Tauri 2 capability permissions inside `src-tauri/capabilities/mobile.json` so Android plugin bridges (`tauri-plugin-fs`, `tauri-plugin-notification`, `tauri-plugin-biometric`) expose only the minimal command surface needed on mobile.

Maintaining Versioned `.aab` Releases Even When Updating Backend/PWA Assets

Developers running TWA apps often assume they never need to upload a second `.aab` during their 14-day closed test because deploying to Cloudflare Pages or Vercel updates the live PWA instantaneously. Just like Expo OTA updates, relying exclusively on silent server deploys leaves your Play Console Closed Testing track showing only a single stagnant `versionCode 1` release across all 14 days. Cut at least one or two updated `.aab` releases (`appVersionCode` `2` and `3` in `twa-manifest.json` or `tauri.conf.json`) refining splash screens, adaptive icons, shortcut intents, or Rust/native plugins.

GOOtester's service clock begins only after your Closed Testing track is live and `testers@gootester.com` Google Group setup is verified, and Google Play alone makes all Production Access decisions.

Pair each Tauri or Bubblewrap `.aab` bump with detailed Play Console release notes and GOOtester `/api/v1/ci/release` metadata syncs so your Production Access submission documents clear native packaging refinements alongside web UX polish.