# Expo & EAS Build Google Play Closed Testing Playbook: app.json, Hermes & 14-Day Cadence

> Master Expo SDK 52/53+ EAS production profiles, remote versionCode auto-incrementing, expo-build-properties API 35/36 targeting, and Play App Signing SHA-1 wiring for 12+ human testers.

- **Canonical URL**: https://gootester.com/frameworks/expo-react-native
- **Config File**: app.json (or app.config.ts) & eas.json
- **Build Command**: `npx eas-cli build --platform android --profile production --non-interactive`

```json
{
  "cli": {
    "version": ">= 14.0.0",
    "appVersionSource": "remote"
  },
  "build": {
    "production": {
      "android": {
        "buildType": "app-bundle",
        "autoIncrement": true
      },
      "env": {
        "EXPO_PUBLIC_API_ORIGIN": "https://api.example.com"
      }
    }
  }
}
```

## Critical Play Console Gotchas
1. **Using development or preview APK profiles instead of app-bundle**: EAS preview profiles default to APK output or bundle expo-dev-client, which attempts to connect to a local Metro bundler on startup. Always compile Closed Testing releases with buildType set to app-bundle under your production EAS profile.
2. **Desynchronized local app.json versionCode vs remote EAS state**: Mixing manual android.versionCode edits in app.json with EAS remote autoIncrement causes version collisions if you previously uploaded a manual build to Internal Testing. Set cli.appVersionSource to remote and initialize it above Play Console's highest versionCode.
3. **Transitive Android permissions injected by unused Expo config plugins**: Installing expo-image-picker, expo-media-library, or expo-location can automatically merge READ_MEDIA_IMAGES or ACCESS_BACKGROUND_LOCATION into AndroidManifest.xml during prebuild. Explicitly list unwanted permissions inside expo.android.blockedPermissions in app.json so Google Play automated policy scanners never reject your initial Closed Testing release.
4. **Mixing EAS Updates OTA patches with native Closed Testing releases**: Shipping JavaScript-only OTA patches via expo-updates fixes UI logic fast, but Google Play reviewers inspect your Play Console release history when evaluating Production Access. Pair OTA hotfixes with at least two real versionCode .aab uploads.

## Configuring Expo Prebuild & EAS Production Profiles for Play Console

Expo Continuous Native Generation (CNG) generates the `android/` native project dynamically from `app.json` or `app.config.ts` on EAS Build workers, making configuration hygiene critical before starting a 14-day Google Play closed testing campaign. Begin by locking `expo.android.package` to a unique reverse-DNS identifier, configuring `expo-build-properties` to target `compileSdkVersion: 36` and `targetSdkVersion: 35` (or `36` on Expo SDK 53+), and enabling R8 shrinking via `enableProguardInReleaseBuilds: true` and `enableShrinkResourcesInReleaseBuilds: true`. Without explicit `blockedPermissions`, media and file plugins often inject broad storage permissions that trigger immediate Photo and Video Permissions policy blocks in Play Console.
Remember a foundational Google Play Console quirk when automating EAS submissions: the Google Play Android Publisher API (`eas submit --platform android`) cannot create a brand-new app record from scratch. You must manually upload your very first production `.aab` in the Play Console web UI, enroll in Play App Signing, complete the Data Safety, Content Rating, Advertising ID, and Target Audience declarations, add `testers@gootester.com` to your Closed Testing track's Google Groups setting, and send held changes for review in Publishing Overview.
Once that initial Closed Testing release transitions to live availability and GOOtester verifies your `testers@gootester.com` opt-in URL, our 14-to-24-day service clock begins. Subsequent `versionCode` updates can be built and pushed straight from GitHub Actions via `eas build --platform android --profile production --auto-submit` and synchronized with GOOtester's `/api/v1/ci/release` endpoint.

## Hermes Bytecode, New Architecture (Fabric/TurboModules) & Native Stability

Expo SDK 52 and 53 enable React Native's New Architecture (Fabric renderer and JSI TurboModules) alongside Hermes bytecode compilation by default. While Hermes dramatically improves cold-start Time to Initial Display (TTID) and lowers baseline memory consumption compared to JSC, C++ JSI host-object exceptions or unguarded native module promises surface as `SIGABRT` / `libhermes.so` native crashes in Android Vitals rather than catchable JavaScript redboxes. If your user-perceived crash rate exceeds Google Play's 1.09% bad-behavior threshold during closed testing, reviewers routinely deny Production Access with a 'More testing required' notice.
To catch Hermes and Fabric regressions early, combine consented human exploratory testing with GOOtester's separate physical-device ARM64 ADB QA (included in the $12 Standard 15-tester/16-day plan and $20 Premium 25-tester/24-day plan). Real-device ADB telemetry inspects `logcat -b crash`, measures native heap + Hermes heap RAM PSS via `dumpsys meminfo`, and verifies 16 KB ELF segment alignment across bundled C++ `.so` libraries (`libreactnative.so`, `libreanimated.so`, `libskia.so`).
Upload your Hermes source maps and R8 mapping files or pair Sentry/Crashlytics symbolication during closed testing so any exception encountered by your human testers on Samsung One UI, Pixel, or Xiaomi devices maps cleanly back to TypeScript line numbers.

## Balancing EAS Update OTA Channels with Play Console Version Cadence

One of Expo's strongest developer velocity features — `eas update` over-the-air JavaScript bundle delivery — can inadvertently hurt solo developers during Google Play's Production Access review if overused as a substitute for `.aab` releases. When Google Play reviewers inspect your Closed Testing track after 14 consecutive days, they evaluate your Play Console release timeline, tester opt-in retention, and versioned release notes. An app that stays frozen on `versionCode 1` inside Play Console for 14 straight days while silently receiving ten OTA JS pushes looks indistinguishable in Console metadata from an abandoned single-upload build.
Adopt a hybrid cadence: use `eas update --branch production` for urgent copy or styling tweaks, but deliberately cut at least two full EAS `.aab` builds (`versionCode 2` on Day 5 and `versionCode 3` on Day 10) incorporating real human tester feedback. Because Google Play alone decides Production Access, pairing continuous human tester retention above the 12-tester minimum with visible multi-version `.aab` iteration gives reviewers concrete, verifiable engineering evidence.
Configure `runtimeVersion: { policy: 'appVersion' }` in `app.json` whenever native dependencies or Expo SDK plugins change between builds, preventing incompatible JavaScript OTA bundles from executing against older native binaries still installed on closed testers' phones during rollout transitions.
