◉RORK LABJP
●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens
Articles/Getting Started
◈ Getting Started/2026-08-30Intermediate

expo-doctor passes on API level 35. Here is what its 22 checks actually cover

I opened the expo-doctor bundle and listed every check it registers. Only one looks at store requirements, and even in the November 1.21.8 release its threshold is API level 34. Includes a script that shows which values it never reads, and how to check the built artifact.

expo-doctorExpo SDK 575Google Play44targetSdkVersion5Rork622

Yesterday evening I was going through my published Android apps, recounting the targetSdkVersion of each one. Google Play's API level 36 requirement lands tomorrow, and when you are an indie developer carrying several apps at once, memory is not a reliable inventory system.

After the manual pass, I ran npx expo-doctor as a final sanity check. Everything came back green.

I almost stopped there. Then I paused, because I could not answer a simple question: green on what, exactly?

I had never read the actual list of checks expo-doctor runs. It is all sitting in the published package, so I opened it. What I found about the deadline was not what I expected.

I wrote this the day before the deadline, on August 30, and came back to it on November 21 with expo-doctor 1.21.8, retracing every step. The deadline and the extension window have both passed since then. What the green means has not changed, and if anything, I suspect it is easier to over-trust now that the deadline is behind us.

The 22 checks registered in expo-doctor 1.20.4

I wanted to inspect the package without installing anything into a project, so I pulled the tarball straight from the npm registry.

META=$(curl -s https://registry.npmjs.org/expo-doctor)
 
echo "$META" | node -e "
let s=''; process.stdin.on('data',d=>s+=d).on('end',()=>{
  const j=JSON.parse(s); const v=j['dist-tags'].latest;
  console.log('latest =', v);
  console.log('tarball =', j.versions[v].dist.tarball);
});"
# latest  = 1.20.4
# tarball = https://registry.npmjs.org/expo-doctor/-/expo-doctor-1.20.4.tgz
 
curl -sL https://registry.npmjs.org/expo-doctor/-/expo-doctor-1.20.4.tgz -o expo-doctor.tgz
tar xzf expo-doctor.tgz

package/build/index.js is a single 984 KB bundle, and every check sits in it as a class. One command pulls out the class names, their descriptions, and the SDK version range each one applies to.

node -e "
const s = require('fs').readFileSync('package/build/index.js', 'utf8');
const re = /class\s+(\w+Check\w*)\s*\{description=\"([^\"]+)\";sdkVersionRange=\"([^\"]*)\"/g;
let m;
while ((m = re.exec(s))) console.log(m[1].padEnd(46), m[3].padEnd(20), m[2]);
"

Here are the 22 results, grouped by how broadly they apply. A range of * means the check runs regardless of your SDK version.

CheckSDK rangeWhat it looks at
StoreCompatibilityCheck*Version requirements for app store submission
ExpoConfigSchemaCheck*Schema of app.json / app.config.js
ExpoConfigCommonIssueCheck*Common mistakes in the Expo config
AppConfigFieldsNotSyncedToNativeProjectsCheck*Config fields that never reach native in a non-CNG project
PackageJsonCheck*Common package.json problems
PackageManagerVersionCheck*npm / yarn versions
LockfileCheck*Presence of a lock file
EnvLocalFilesCheck*Local env files that got committed
NativeToolingVersionCheck*Native toolchain versions
PeerDependencyChecks*Missing required peer dependencies
ProjectSetupCheck*Common project setup issues
IllegalPackageCheck>=44.0.0Incompatible support packages inside native modules
SupportPackageVersionCheck>=45.0.0 <54.0.0Support package version alignment
GlobalPackageInstalledLocallyCheck>=46.0.0Legacy global CLI installed locally
InstalledDependencyVersionCheck>=46.0.0Packages matching the versions your SDK expects
MetroConfigCheck>=51.0.0Metro config problems
ReactNativeDirectoryCheck>=51.0.0Dependencies validated against React Native Directory
AutolinkingDependencyDuplicatesCheck>=54.0.0Duplicate installed dependencies
DependencyVersionOverrideCheck>=55.0.0Overridden dependency versions
HermesV1VersionCheck>=55.0.0 <58.0.0SDK versions affected by Hermes V1 regressions
VectorIconsCheck>=56.0.0Icon packages conflicting with @expo/vector-icons
ExpoRouterReactNavigationCheck>=56.0.0 <57.0.0@react-navigation installed next to expo-router

Reading down the list, the shape becomes obvious. Almost all of it is a health check on your dependency tree and project layout: package versions, config file syntax, duplicates, lock files. As a tool for confirming your working copy is not quietly broken, it is very good at its job.

And exactly one of those 22 checks touches store requirements at all.

Only one check looks at the store, and its threshold is from 2024

Pull out the definition of StoreCompatibilityCheck and the constants it judges against are right there in plain text.

// extracted from package/build/index.js (expo-doctor 1.20.4; minified names change between releases)
u.PLAY_STORE_MINIMUM_REQS = {
  effectiveDate: "August 31 2024",
  AndroidSdkVersion: 34,
  ExpoSdkVersion: 50
};

The effective date is 31 August 2024 and the threshold API level is 34. That is Google Play's requirement from two years ago, not the API level 36 requirement that takes effect tomorrow, 31 August 2026.

The logic follows from the constant. A warning is raised only when targetSdkVersion reads below 34, so 34, 35, and 36 are all treated as fine. An app still sitting on targetSdkVersion 35 gets a green result from expo-doctor today.

For a CNG project with no android directory, the check falls back to the android.targetSdkVersion value in the expo-build-properties plugin, and if that is absent, to whether the Expo SDK version is 50 or higher. On SDK 57 that branch passes without hesitation.

The name is plural, but the only constant it consults is PLAY_STORE_MINIMUM_REQS. I could not find any App Store equivalent in the bundle. Minimum iOS version and Xcode requirements live outside these 22 checks entirely, so if you ship to both App Store and Google Play, read this check as covering one of them.

I do not read this as a defect so much as a question of scope. expo-doctor is built to validate the integrity of your project, not to track shifting store policy deadlines. Still, given the name and the shape of the output, I doubt I am the only person who has quietly treated it as a pre-submission gate.

November's 1.21.8 still says 34

Back in August I assumed someone would bump the constant soon. By November, npm's latest tag had moved to 1.21.8, so I reopened the bundles side by side. These few lines do the comparison:

# Unpack several releases and print the check count and the store threshold
for v in 1.20.4 1.20.5 1.21.8; do
  mkdir -p "c$v"
  curl -sL "https://registry.npmjs.org/expo-doctor/-/expo-doctor-$v.tgz" | tar xz -C "c$v"
  f="c$v/package/build/index.js"
  echo "$v size=$(wc -c < "$f") checks=$(grep -oE 'class \w+Check\w* ?\{description' "$f" | wc -l)" \
       "$(grep -oE 'effectiveDate:"[^"]*",AndroidSdkVersion:[0-9]+' "$f")"
done

Output from bash on Linux with Node.js 22.23.5, run on November 21, 2026:

1.20.4 size=1007236 checks=22 effectiveDate:"August 31 2024",AndroidSdkVersion:34
1.20.5 size=1020197 checks=22 effectiveDate:"August 31 2024",AndroidSdkVersion:34
1.21.8 size=781002 checks=22 effectiveDate:"August 31 2024",AndroidSdkVersion:34
ReleasePublished to npm (UTC)dist-tagChecksStore threshold
1.20.42026-08-26(latest in August)22API 34, August 31 2024
1.20.52026-11-05sdk-5722API 34, August 31 2024
1.21.82026-11-11latest22API 34, August 31 2024

The bundle shrank by about a fifth, but the same 22 checks are there, and the StoreCompatibilityCheck constant and regex are byte-for-byte unchanged. In 1.21.8 the constant has simply been minified to se. If your extraction script searches by variable name it will come back empty, which is why the loop above searches for the contents (effectiveDate:) instead; that keeps working across releases.

Google Play, meanwhile, has moved on. As of November 2026, the official target API level requirements page says:

  • From August 31, 2026, new apps and app updates must target Android 16 (API level 36) or higher (Wear OS and Android Automotive OS need API 35; Android TV and Android XR need API 34)
  • Existing apps must target API 35 or higher to remain available to new users on devices running a newer Android than the app targets
  • Developers who needed more time could request an extension to November 1, 2026

So in late November, even the extension window is closed. Only expo-doctor's threshold is still sitting two years back.

When the value in build.gradle never gets read

Digging one level deeper, I found that in projects with an android directory the check often stops even earlier. Here is the regular expression it uses to read the value.

const E = /^\s*targetSdkVersion\s*=\s*(?:Integer\.parseInt\(findProperty\('android\.targetSdkVersion'\)\s*\?:\s*'(\d+)'\)|'(\d+)')/m;
const w = i.match(E)?.[1];   // only the first capture group is read

There are two capture groups. The first covers the Integer.parseInt(findProperty(...) ?: '35') form; the second covers a plain quoted literal such as targetSdkVersion = '35'. The consuming line reads only the first one. So when the value is written as a plain quoted literal, the regex matches but the extracted value comes back undefined.

I copied the same constant and the same expression into a standalone script and ran a handful of spellings through it.

// check-store-gate.mjs
const PLAY_STORE_MINIMUM_REQS = { AndroidSdkVersion: 34 };
const TARGET_SDK_RE =
  /^\s*targetSdkVersion\s*=\s*(?:Integer\.parseInt\(findProperty\('android\.targetSdkVersion'\)\s*\?:\s*'(\d+)'\)|'(\d+)')/m;
 
function judge(gradleText) {
  const raw = gradleText.match(TARGET_SDK_RE)?.[1];
  const value = raw ? parseInt(raw, 10) : undefined;
  const flagged = !!(value && value < PLAY_STORE_MINIMUM_REQS.AndroidSdkVersion);
  return { matched: TARGET_SDK_RE.test(gradleText), value, verdict: flagged ? 'warns' : 'silent' };
}
 
const samples = [
  ["targetSdkVersion = '33'", "ext {\n  targetSdkVersion = '33'\n}"],
  ["targetSdkVersion = '35'", "ext {\n  targetSdkVersion = '35'\n}"],
  ['targetSdkVersion = 35',   'ext {\n  targetSdkVersion = 35\n}'],
  ["parseInt(... ?: '33')",   "ext {\n  targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '33')\n}"],
  ["parseInt(... ?: '35')",   "ext {\n  targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '35')\n}"],
  ['(no ext block)',          'apply plugin: "expo-root-project"'],
];
 
for (const [label, text] of samples) {
  const r = judge(text);
  console.log(label.padEnd(26), 'matched=' + String(r.matched).padEnd(6),
              'value=' + String(r.value).padEnd(10), r.verdict);
}

Run on Node.js 22.23.2, this is what came back.

How build.gradle spells itRegex matchesValue readResult
targetSdkVersion = '33'yesundefinedsilent
targetSdkVersion = '35'yesundefinedsilent
targetSdkVersion = 35noundefinedsilent
Integer.parseInt(... ?: '33')yes33warns
Integer.parseInt(... ?: '35')yes35silent
no ext blocknoundefinedsilent

Writing targetSdkVersion = '33' produces no warning at all. The only spelling that yields a usable value is the Integer.parseInt(findProperty(...)) form.

I then pulled the SDK 57 bare template, expo-template-bare-minimum@57.0.20, and looked at its android/build.gradle directly. There is no targetSdkVersion entry in the ext block at all. Line 94 of android/app/build.gradle reads targetSdkVersion rootProject.ext.targetSdkVersion, and that value is resolved by the expo-root-project Gradle plugin. In that layout there is simply no string for the regex to land on.

So on a current standard SDK setup, StoreCompatibilityCheck finds the android directory, fails to read a value, and passes. The green was inevitable. In November I also opened the SDK 58 template (expo-template-bare-minimum@58.0.35); its root android/build.gradle ends with apply plugin: "expo-root-project" in exactly the same shape.

Continuous Native Generation projects without an android directory have the same hole in a different place. If expo-build-properties says targetSdkVersion: 35, the check only asks whether that is below 34, so it passes.

Finding the values it never reads, in your own project

To check this against my own projects, I wrote a small script. The goal is to put "the value expo-doctor read" next to "where the value that actually reaches the build comes from", on one screen, with no dependencies.

// targetsdk-gap.mjs - compare what expo-doctor reads with where the build value comes from
// usage: node targetsdk-gap.mjs <project root> [required API level=36]
import fs from 'node:fs';
import path from 'node:path';
 
const root = path.resolve(process.argv[2] ?? '.');
const required = Number(process.argv[3] ?? 36);
const read = (p) => (fs.existsSync(path.join(root, p)) ? fs.readFileSync(path.join(root, p), 'utf8') : null);
 
// Same regex and same capture group as StoreCompatibilityCheck in expo-doctor 1.21.8
const DOCTOR_RE =
  /^\s*targetSdkVersion\s*=\s*(?:Integer\.parseInt\(findProperty\('android\.targetSdkVersion'\)\s*\?:\s*'(\d+)'\)|'(\d+)')/m;
 
const rootGradle = read('android/build.gradle');
const appGradle = read('android/app/build.gradle');
const props = read('android/gradle.properties');
const appJson = read('app.json');
 
const rows = [];
if (rootGradle !== null) {
  const v = rootGradle.match(DOCTOR_RE)?.[1];
  rows.push(['value expo-doctor reads (android/build.gradle)', v ?? 'unreadable']);
} else {
  rows.push(['android/ directory', 'none (CNG)']);
}
if (appGradle !== null) {
  const line = appGradle.match(/^\s*targetSdkVersion\s+(.+)$/m)?.[1]?.trim();
  rows.push(['android/app/build.gradle refers to', line ?? 'not set']);
}
if (props !== null) {
  rows.push(['gradle.properties android.targetSdkVersion',
    props.match(/^android\.targetSdkVersion=(\d+)/m)?.[1] ?? 'not set (SDK default)']);
}
if (appJson !== null) {
  const plugins = JSON.parse(appJson).expo?.plugins ?? [];
  const bp = plugins.find((p) => Array.isArray(p) && p[0] === 'expo-build-properties');
  rows.push(['expo-build-properties android.targetSdkVersion',
    bp?.[1]?.android?.targetSdkVersion ?? 'not set']);
}
 
for (const [k, v] of rows) console.log(k.padEnd(48), String(v));
 
const explicit = rows.map(([, v]) => Number(v)).filter((n) => Number.isFinite(n));
const low = explicit.filter((n) => n < required);
console.log('-'.repeat(60));
if (low.length) console.log(`ACTION: ${low.join(', ')} is below API ${required}`);
else console.log(`No explicit value below API ${required} in config files. Confirm the effective value in the build artifact.`);

I ran it on Node.js 22.23.5 against the SDK 58 bare template in three variations:

## template as shipped
value expo-doctor reads (android/build.gradle)   unreadable
android/app/build.gradle refers to               rootProject.ext.targetSdkVersion
gradle.properties android.targetSdkVersion       not set (SDK default)
------------------------------------------------------------
No explicit value below API 36 in config files. Confirm the effective value in the build artifact.

## 35 written in gradle.properties and expo-build-properties
value expo-doctor reads (android/build.gradle)   unreadable
android/app/build.gradle refers to               rootProject.ext.targetSdkVersion
gradle.properties android.targetSdkVersion       35
expo-build-properties android.targetSdkVersion   35
------------------------------------------------------------
ACTION: 35, 35 is below API 36

## no android/ (CNG), expo-build-properties set to 35
android/ directory                               none (CNG)
expo-build-properties android.targetSdkVersion   35
------------------------------------------------------------
ACTION: 35 is below API 36

The second and third cases are ones where expo-doctor returns green. The script points straight at the file that still says 35.

It reads gradle.properties because expo-build-properties writes its value there as android.targetSdkVersion during prebuild, and the root expo-root-project plugin picks it up from there. If you compute the value in app.config.js, the script cannot see it; reading gradle.properties after prebuild covers that case well enough for me.

Config files are still not the final word. The value that reached the build lives in the artifact. Download the .aab from your EAS Build and read its manifest with bundletool; that is the most reliable check I know.

# Read the targetSdkVersion that actually went into an .aab
bundletool dump manifest --bundle=app-release.aab \
  --xpath=/manifest/uses-sdk/@android:targetSdkVersion
# 36 means the store will see 36

If this prints 35 while your config says 36, something such as a stale native folder or a plugin may be overriding the value. The troubleshooting table below is where I would go next.

What you can silence, and what I would leave alone

While reading the bundle I found something else worth keeping: several checks respond to environment variables and to a package.json config block.

SettingEffectHow I use it
EXPO_DOCTOR_SKIP_DEPENDENCY_VERSION_CHECKThe SDK version alignment check is never registeredNot routinely. Only for short windows with a deliberately pinned dependency
EXPO_DOCTOR_ENABLE_DIRECTORY_CHECKForces the React Native Directory check on or off, overriding configOff in CI when I do not want a build depending on an external API
EXPO_DOCTOR_WARN_ON_NETWORK_ERRORSSkips the failing exit code when every failure was a network errorAlways on in CI, so a flaky connection does not stop a build
expo.doctor.reactNativeDirectoryCheck.excludePackages excluded from directory validation; /regex/ strings supportedFor in-house and self-authored modules
expo.doctor.reactNativeDirectoryCheck.listUnknownPackagesfalse suppresses warnings for packages with no metadataOnly when the noise gets in the way
expo.doctor.appConfigFieldsNotSyncedCheck.enabledTurns the non-CNG config sync check on or offI leave it alone

The EXPO_DOCTOR_WARN_ON_NETWORK_ERRORS behaviour is nicely bounded once you read it. It counts the failing checks whose cause was a network error, and only skips the failing exit when that count equals the total number of failures. If even one non-network failure is mixed in, the run fails normally. That is why it is safe to leave on in CI.

EXPO_DOCTOR_SKIP_DEPENDENCY_VERSION_CHECK is the one I avoid making permanent. With it set, the check is not registered at all and you get a single log line saying it has been disabled. The fact is recorded, but the version of me who opens that repository three months from now is not guaranteed to read the log.

Which tool vouches for what

In August I had quietly filed expo-doctor under "final pre-submission check", and I came close to moving on to the release steps on the strength of that green. I stopped by luck. Had I not, the first warning would have been the Play Console upload screen. Since then I keep my checks sorted by what each one actually vouches for.

ToolWhat it vouches forWhat it does notWhen I run it
expo-doctorDependency and project-layout healthCurrent store requirements, the effective targetSdkAfter dependency changes, and on every CI run
targetsdk-gap.mjs (above)Explicit values in config files, and where they liveThe final value that reached the buildAfter an SDK bump or adding a plugin
bundletool dump manifestThe targetSdkVersion inside the artifactPolicy and other review requirementsRight after building a release candidate
Play Console uploadWhether this build is actually accepted(it is the last gate)On the internal testing track, before any public track

If I had to put the choice in one line: green is a check of the workshop; whether you can ship is decided by the artifact. Run expo-doctor every time and read the artifact once per submission, and neither step gets skipped.

When it is green and the upload still fails

This is the order I go through when expo-doctor is green but submission stops.

SymptomLikely causeHow to confirmFix
expo-doctor is green, but Play Console rejects the upload for the target API level requirementThe build still targets 35 or lowerRead the .aab with bundletool dump manifestSet android.targetSdkVersion in expo-build-properties to 36, or remove it and let the SDK default apply
Config says 36, artifact says 35A stale android/ folder that prebuild never regeneratedCompare android/gradle.properties and the date you last ran prebuildOn CNG, regenerate with npx expo prebuild --clean
expo-doctor fails only in CI, with network errors in the logOutbound lookups such as React Native Directory are failingCheck whether every failing check failed for a network reasonSet EXPO_DOCTOR_WARN_ON_NETWORK_ERRORS=1 in CI (non-network failures still fail)
The Wear OS build goes through, the phone build does notRequirements differ by form factor (Wear OS needs API 35)The exceptions section of the official requirements pageRaise the phone build to 36
Users on new devices say they cannot find the app, though you shipped nothingThe existing app targets below API 35Notices in the Play Console inbox and app dashboardShip an update targeting 36 (35 is no longer accepted for updates)

Three misreadings worth correcting

"Updating expo-doctor will make it check API 36." Release 1.21.8, published November 11, still uses API 34. Upgrading does not close this gap.

"I requested an extension, so I am fine until the end of the year." The extension on the official requirements page ran to November 1, 2026. In late November, a build below 36 cannot go out as a new app or as an update.

"Staying on 35 will get my existing app pulled from the store." The official wording is that existing apps targeting API 35 or higher remain available to new users. The app does not disappear; what you lose is the ability to ship the next update until you move to 36. The painful version of this is discovering it on the day you need to push an urgent fix.

The next thing likely to trip you up

Once targetSdk is 36, the real work tends to be Android 16 behaviour changes rather than the number itself. The places where visible config diverges from what reaches the build are in The three places I had to fix before a Rork project actually targeted API level 36. For what your dependencies drag along with them, After Bumping targetSdk to 36, Which Part of Your Dependencies Should You Actually Read covers adjacent ground. Orientation locks that stop holding on tablets are in What Android 16 ignores on tablets, and why app.json gives you no way out.

For keeping track of which Expo patch your build is actually carrying, the procedure is in Nine Expo patches shipped in thirty days. Which one is your app actually running?.

If you do one thing today, I would suggest this: download your most recent release .aab and read its targetSdkVersion with bundletool dump manifest. It takes a few minutes, and seeing that number next to expo-doctor's green makes the boundary of what the green covers feel concrete.

Less a case of doubting the tool, more a case of my having misread what it was responsible for. I am still a little relieved that I noticed the day before the deadline rather than the day after.

Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

◈ Getting Started2026-10-16
The night the Play Console wouldn't let me submit — release notes cap at 500 characters per language
Google Play release notes cap at 500 characters per language. A triage table for a stalled submission, a check script that also catches unclosed language tags (with real output), and why EAS Submit can leave draft releases behind.
◈ Getting Started2026-10-12
Before You Promise "Release in a Week" — Break Down the Days You Will Spend Waiting
When your Rork app is ready, the release date still isn't yours to set. Break the wait into five parts — Apple enrollment, Google Play closed testing (12 testers, 14 days), production access, and first reviews — using official guidance as of November 2026, then work out the earliest and late-case dates with a small TypeScript script.
◈ Getting Started2026-08-22
The names you can change, and the ones you can't — the 30 minutes before your first Rork release
An app has three names, and only the display name can be changed after release. Here is how I check the identifiers Rork fills in by default, using a dependency-free script, before I hit submit.