# Cursor, Claude Code, Lovable & Bolt Closed Testing Playbook: Supabase Auth, Deep Links & AABs

> Bridge AI-assisted repositories from Lovable, Bolt.new, Cursor, and Claude Code into production-signed Android App Bundles ready for Google Play's 12-tester, 14-day closed testing track.

- **Canonical URL**: https://staging.gootester.com/frameworks/cursor-lovable-bolt
- **Config File**: capacitor.config.ts (or app.json) & android/app/src/main/AndroidManifest.xml
- **Build Command**: `npm run build && npx cap sync android && cd android && ./gradlew bundleRelease --no-daemon`

```xml
<activity
    android:name=".MainActivity"
    android:exported="true"
    android:launchMode="singleTask">
    <intent-filter android:autoVerify="true">
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data
            android:scheme="https"
            android:host="app.example.com"
            android:pathPrefix="/auth/callback" />
    </intent-filter>
</activity>
```

## Critical Play Console Gotchas
1. **OAuth redirects stranding testers inside external Chrome tabs**: Lovable and Bolt templates configure Supabase or Clerk Google OAuth for browser window.location.origin redirects. Inside an Android app, OAuth callbacks will strand testers in Chrome unless you configure Android App Links with Play App Signing SHA-256 assetlinks.json.
2. **AI coding agents hallucinating deprecated Gradle 7 or SDK 33 configs**: LLM assistants trained on older repositories frequently generate build.gradle files using targetSdkVersion 33, deprecated Kotlin synthetic imports, or legacy Play Core dependencies. Pin AGP 8.7+, compileSdk 36, and targetSdk 35/36 explicitly before building your release AAB.
3. **Missing Reviewer test credentials for login-walled apps**: Vibe-coded SaaS apps almost always gate the home screen behind Supabase, Firebase, or magic-link login. Failing to supply working demo credentials under Play Console -> App content -> App access causes instant Closed Testing rejection.
4. **Shipping Stripe or Paddle web checkouts for digital in-app goods**: Web apps ported from Lovable or Cursor frequently keep Stripe Checkout links for unlocking digital subscriptions or AI credits. Google Play's Payments policy requires Google Play Billing (or RevenueCat) for in-app digital features on Android.

## Translating Vibe-Coded Web & Expo Scaffolds into Play-Compliant Android Builds

AI-native development environments — Cursor, Claude Code, Lovable, and Bolt.new — let solo founders ship remarkably complete React/Vite + Supabase or Expo/React Native products in a weekend. Yet the leap from a working `localhost:5173` preview to an approved Google Play Closed Testing track trips up thousands of first-time publishers because browser assumptions break inside native Android sandboxes. Before generating your `.aab`, audit four pillars: authentication deep linking, billing compliance, account deletion, and Target SDK 35/36 manifest hygiene.
If your app authenticates via Supabase Auth, Clerk, or Firebase OAuth, browser popup flows (`signInWithOAuth`) open an Android Custom Tab (`androidx.browser`) that must return tokens back to your native activity (`launchMode="singleTask"`). Host `/.well-known/assetlinks.json` on your production HTTPS domain containing **both** your upload key SHA-256 and Google Play Console's App Signing certificate SHA-256 so `android:autoVerify="true"` App Links hand off seamlessly without disorienting closed testers.
Equally critical: audit your monetization layer. While physical goods or B2B SaaS consumption outside the app follow specific exemptions, selling digital AI credits, pro tiers, or locked app features inside an Android build via embedded Stripe web links triggers immediate Google Play Payments policy rejections. Integrate Google Play Billing (`@revenuecat/purchases-capacitor` or `react-native-iap`) and register your tester Google Group under License Testing so closed testers can test sandbox subscriptions free of charge.

## Catching LLM-Generated Android Antipatterns with Physical-Device QA

When prompting Cursor or Claude Code to add camera scanning, push notifications, or offline caching, AI agents often pull older Stack Overflow patterns — adding `READ_EXTERNAL_STORAGE`, `WRITE_EXTERNAL_STORAGE`, `READ_MEDIA_IMAGES`, or unguarded `FOREGROUND_SERVICE` tags to `AndroidManifest.xml`. Google Play's automated pre-review scanner flags unnecessary high-risk permissions before human testers ever see your build. Ask your coding agent to run `./gradlew :app:processReleaseMainManifest` and review the merged `AndroidManifest.xml` line by line prior to uploading `app-release.aab`.
Once your build is packaged, real hardware behavior matters. AI-generated UI layouts frequently rely on fixed viewport heights (`100vh` instead of `100dvh` + safe-area insets) that break when Android's soft keyboard slides up or when Android 15/16 enforces edge-to-edge system bars. GOOtester's Standard ($12, 15 human testers / 16 days) and Premium ($20, 25 human testers / 24 days) tiers pair real human testers with separate automated ARM64 physical-device ADB QA runs (`dumpsys meminfo` RAM PSS, `dumpsys gfxinfo` jank, crash/ANR checks) — always tracking automated ADB telemetry strictly separately from human testers.
Validate Supabase Row-Level Security (RLS) policies, anonymous guest fallbacks, and cold-start offline error states prior to Day 1 so network latency on cellular devices never leaves testers staring at infinite loading skeletons.

## Fast Iteration Loops with Claude Code, GitHub Actions & GOOtester CI

Solo vibe coders possess an unfair advantage during the 14-day closed testing window: you can turn human tester UI feedback into a shipped `.aab` update in twenty minutes. Wire a GitHub Actions workflow that increments `versionCode`, builds a signed release `.aab`, uploads to your Closed Testing track, and sends release metadata to GOOtester's `/api/v1/ci/release` endpoint (`Authorization: Bearer gt_live_example_token_12345`).
Remember GOOtester's core truthfulness invariants: our service clock begins only after your Closed Testing track and `testers@gootester.com` Google Group setup are verified live, pricing is a single transparent per-app payment ($6 / $12 / $20), and Google Play alone evaluates your app and grants Production Access.
Keep a crisp versioned changelog mapping each closed tester report to `versionCode 2` and `versionCode 3` commits so your three Production Access questionnaire answers cite concrete, verifiable engineering changes rather than generic AI prose.
