# Bolt.new to Google Play Store Playbook: Packaging Vite/React Apps into Compliant AABs

> Convert a browser-built Bolt.new prototype into a native Capacitor or TWA Android App Bundle — clearing Google Play's WebView Minimum Functionality filter, fixing mobile viewport UX, and running 12-tester QA.

- **Canonical URL**: https://gootester.com/frameworks/bolt-new-to-google-play
- **Config File**: capacitor.config.json & android/variables.gradle
- **Build Command**: `npm install && npm run build && npx cap sync android && cd android && ./gradlew bundleRelease`

```groovy
ext {
    minSdkVersion = 24
    compileSdkVersion = 36
    targetSdkVersion = 35
    androidxActivityVersion = '1.9.3'
    androidxAppCompatVersion = '1.7.0'
    androidxCoordinatorLayoutVersion = '1.2.0'
    androidxCoreVersion = '1.15.0'
    androidxFragmentVersion = '1.8.5'
    coreSplashScreenVersion = '1.0.1'
    androidxWebkitVersion = '1.12.1'
}
```

## Critical Play Console Gotchas
1. **Using PWABuilder/TWA without deploying Play App Signing SHA-256 to `assetlinks.json`**: If you wrap a live Bolt.new Netlify/Cloudflare URL as a Trusted Web Activity (TWA) instead of Capacitor and forget to add Play Console's App Signing SHA-256 to `/.well-known/assetlinks.json`, Chrome renders a permanent browser URL bar across the top — triggering immediate Play review rejection.
2. **Browser-only `alert()`, `window.confirm()`, and text-selection blue highlights**: Raw web apps exported from Bolt.new feel broken on Android when tapping navigation tabs highlights text in blue (`user-select: text`) or native hardware Back presses immediately exit the app from nested screens instead of popping route history.
3. **Client-side `localStorage` data loss vs. persistent Capacitor Preferences / SQLite**: Relying solely on unbacked browser storage for critical user state without clear export/sync options risks data-loss complaints from closed testers when OS WebView caches clear under memory pressure.
4. **Default Bolt favicon shipped as a stretched 512x512 Play Store hi-res icon**: Upscaling a 32x32 SVG/PNG favicon or forgetting Android adaptive foreground/background icon layers (`mipmap-anydpi-v26`) fails Store Listing visual quality checks.

## Capacitor Local Bundle vs. Trusted Web Activity (TWA): Choosing the Right Path

Developers exporting a finished **Bolt.new** project face an immediate architectural fork: wrap the hosted web URL inside a **Trusted Web Activity (TWA / Bubblewrap)** or package the compiled `dist/` bundle locally inside **Capacitor (`@capacitor/android`)**. For 90% of solo Bolt.new utilities, trackers, calculators, and AI tools, **Capacitor** is substantially safer during Google Play review.
Why? Because Capacitor bundles your HTML, CSS, TypeScript, and icons directly inside the `.aab` binary, works offline out of the box, exposes native plugins (`@capacitor/haptics`, `@capacitor/share`, `@capacitor/status-bar`, `@capacitor/preferences`), and never flashes a Chrome Custom Tabs address bar if DNS or `assetlinks.json` hiccups.
After downloading your Bolt.new ZIP or syncing to GitHub, initialize Capacitor with a permanent reverse-DNS `appId` (`com.example.boltapp`), generate adaptive icons with `@capacitor/assets`, and wire `@capacitor/app`'s `backButton` listener to your React Router history.

## Clearing Google Play's 'Minimum Functionality & WebView Spam' Policy

Google Play enforced heightened **Minimum Functionality** standards in late 2024–2026 specifically targeting broken, zero-value wrappers and static single-page sites repackaged as apps. An app exported from Bolt.new that simply displays static marketing copy, crashes when Airplane Mode is toggled on, or opens external affiliate links in system browsers will be rejected.
Ensure your Bolt.new Android build delivers genuine interactive utility, caches core state locally so Airplane Mode renders a responsive offline state rather than `net::ERR_INTERNET_DISCONNECTED`, and removes all dead footer links ('Pricing', 'Cookie Policy popup', 'Download for iOS') that scream 'unmodified website'.

## Running a Disciplined 14-Day Closed Test on Your Bolt.new Build

Once your signed Capacitor `.aab` clears initial Closed Testing review and `testers@gootester.com` is verified on your track (which is when GOOtester's service clock begins), let 12, 15, or 25 consented human testers ($6 Basic / $12 Standard / $20 Premium) stress-test real mobile touch ergonomics across diverse screen ratios.
Use human usability reports plus Standard/Premium's separate physical-device ARM64 ADB QA (`dumpsys gfxinfo` WebView scroll jank & RAM PSS) to ship two iterative `versionCode` updates before submitting your Production Access application.
