◉RORK LABJP
●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SONNET 4.5 — Retires on the Claude API on 11/30, 22 days left. If your app calls it, check the migration target●SDK 58 — Moves to React Native 0.88. R8 is now on by default in Android release builds, and iOS prebuild generates a SceneDelegate●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…●GPT-6.1 SOL — Added to Rork's model menu (09-29) with Low, Medium and High effort; included on Pro and Max●SONNET 5.5 — Claude Sonnet 5.5 is selectable: strong at UI design and faster than Sonnet 5 (09-28)●SONNET 4.5 — Retires on the Claude API on 11/30, 22 days left. If your app calls it, check the migration target●SDK 58 — Moves to React Native 0.88. R8 is now on by default in Android release builds, and iOS prebuild generates a SceneDelegate●OBSERVE — EAS Observe now records native crashes too (SDK 57.0.21 or later, 10/07)●NEW — My App Open Ad Only Showed When the App…
Articles/App Dev
◇ App Dev/2026-10-14Intermediate

App Review Says "Guideline 2.1, Blank Screen": Three Places to Look in an Expo Release Build

It opens fine in TestFlight, yet review rejects it for a blank screen. Here is the order I check things in an Expo + EAS release build: which environment holds your variables, secret visibility during config resolution, and what the reviewer's device does differently.

App Store review5Guideline 2.1Expo234EAS Build25environment variables6TestFlight16troubleshooting80

You open the review result and read, under "Guideline 2.1 - Performance - App Completeness": "the app showed a blank white screen after launch." On your own phone it runs perfectly. That sinking feeling in the stomach is familiar to me.

As an indie developer who has shipped a number of apps, I've been rejected more than once, and my first instinct every time was to upload the same build again. It didn't go well. The reviewer's screen is blank for a reason, and resubmitting without finding the reason just returns the same screenshot.

What I'd like to tell you first is the order I check things in: which environment holds your variables, secret visibility, and the reviewer's environment. Working through those three, top to bottom, resolves most cases I've seen described.

One caveat. The commands and behaviors below follow Apple's and Expo's official documentation. I also read a real post on the Apple Developer Forums describing the same symptom (Expo SDK 53, EAS Build, a map that shows pins in Expo Go but a blank screen in TestFlight), and I've rearranged the ideas into the order I'd check them. I did not reproduce that poster's exact setup.

What a rejection message does and doesn't tell you

Guideline 2.1(a) asks for a final, on-device-tested build, a demo account if there is a login, and a running back end. Apple rejects binaries that crash or show obvious technical problems. "Blank screen" doesn't say whether the app crashed, is waiting on a network call, or has an empty setting.

All you can read from it is that the app failed to draw a first screen in the reviewer's environment. So I split the causes into three:

  • A value that should be in the build isn't (a configuration problem).
  • The value exists but can't be read at config-resolution time (a visibility problem).
  • The build is fine, but the reviewer's environment can't get the data (an environment problem).

What changes between your device and review

A pass in Expo Go or a development build is not evidence for a release build, because who runs the app has changed.

AspectYour device (Expo Go / dev build)Review (TestFlight / store build)
JS bundleServed live by MetroEmbedded at build time
Env variablesLocal .env filePulled from an EAS environment
Login stateAlready signed inFresh install, signed out
PermissionsUsually grantedNot yet asked, or denied
Back endDev APIProduction API (silent if down or IP-restricted)

The "env variables" row is the one most likely to produce a blank screen. Per Expo's documentation, any EXPO_PUBLIC_ variable is replaced by its literal value when the app is bundled. If no value existed at build time, none exists in the app, and nothing surfaces that as an error.

Suspect 1: are the values in the production environment?

The symptom is simple: it works in Expo Go and only the store build is blank. Look at environment variables first.

EAS Build chooses which environment to read through the environment field on the build profile. The eas.json reference lists development, preview and production as the accepted values. The pages I checked do not say which one is chosen when you omit it, and the FAQ recommends setting it explicitly.

Here's the trap. If you created your variables only in development or preview, and the store build is set to read production, it gets nothing. It worked on your phone, so nothing prompted you to look.

Check what's actually there:

# list the names and visibility of variables in production
eas env:list --environment production
 
# compare with preview and look for names present in only one
eas env:list --environment preview

If a name your code reads (say EXPO_PUBLIC_API_URL or a maps key) is missing from production, that's your leading suspect. To add it:

# the value is an example; put your real key where YOUR_API_KEY would go
eas env:set --name EXPO_PUBLIC_API_URL --value "https://api.example.com" --environment production --visibility plaintext

Writing environment explicitly in the profile saves you from guessing later:

{
  "build": {
    "production": {
      "distribution": "store",
      "environment": "production",
      "autoIncrement": true
    },
    "preview": {
      "distribution": "internal",
      "environment": "preview"
    }
  }
}

"It gets picked automatically" and "I chose it" are different things. For the profile I submit to review, I never leave it implicit.

Suspect 2: secrets can't be read while the config resolves

Variables are in production and the screen is still blank? Next, visibility.

EAS variables come in three types: plain text, sensitive, and secret. The documentation states that secret values never leave Expo's servers and cannot be pulled locally; eas env:pull writes a comment in place of the value. In other words, secrets cannot be read while EAS CLI resolves app.config.js or app.config.ts on your machine. The FAQ adds that EAS CLI does not load .env files during config resolution.

Suppose a native map app injects its key from app.config.js:

// app.config.js
export default ({ config }) => ({
  ...config,
  ios: {
    ...config.ios,
    config: {
      // a value stored as secret may be undefined at this point
      googleMapsApiKey: process.env.GOOGLE_MAPS_API_KEY,
    },
  },
});

If that value is a secret, it can arrive as undefined. The build succeeds and the app launches; only the map quietly fails to draw and you get an empty screen.

There are two ways out: register values needed at config time as sensitive or plain text, or change the design so the value is fetched after the build. The deciding question is whether the value is something you can afford to ship inside the app. A maps SDK key is meant for the device anyway, so restrict it on the provider side (by bundle ID, for example) and bundle it. Anything you truly must hide belongs on a server, such as an edge function. I wrote up the prefix-versus-visibility distinction as two separate axes in a premium article, EAS secrets are not a "keep it out of the app" switch, if you want a map for that decision.

One more thing that's easy to miss: Expo's documentation asks for dot notation, process.env.EXPO_PUBLIC_[VARNAME], and says alternative forms are not supported.

// ✅ dot notation: replaced with the literal value at bundle time
const apiUrl = process.env.EXPO_PUBLIC_API_URL;
 
// ❌ a generic helper taking the name: not a supported form
const getEnv = (name: string) => process.env[name];
const apiUrl2 = getEnv("EXPO_PUBLIC_API_URL");

I understand the pull of a shared "read an env var" helper; I nearly wrote one myself. But the replacement targets the reference as written. Wrapping it for convenience can take it out of reach. I keep every read in one module, in dot notation.

Suspect 3: the reviewer's environment can't get the data

Variables fine, visibility fine, still blank? Suspect the environment rather than the build.

A reviewer opens a fresh install, signed out, with permissions not yet granted. Your server may not respond; location access may be denied. The question is whether your app survives that.

This is where never producing a blank screen helps. Instead of waiting silently when data can't load, show what's happening. A blank screen then becomes a screen with a reason, for the reviewer and for you.

First, check required settings at startup:

// config.ts - all reads live here (dot notation)
export const config = {
  apiUrl: process.env.EXPO_PUBLIC_API_URL,
  mapsKey: process.env.EXPO_PUBLIC_MAPS_KEY,
};
 
export function missingConfigKeys(): string[] {
  const missing: string[] = [];
  if (!config.apiUrl) missing.push("EXPO_PUBLIC_API_URL");
  if (!config.mapsKey) missing.push("EXPO_PUBLIC_MAPS_KEY");
  return missing;
}

Then give network calls a timeout and surface failures:

// useSafeFetch.ts - even an unresponsive API ends in an error state
import { useEffect, useState } from "react";
 
type State<T> =
  | { status: "loading" }
  | { status: "error"; message: string }
  | { status: "ok"; data: T };
 
export function useSafeFetch<T>(url: string | undefined, timeoutMs = 8000): State<T> {
  const [state, setState] = useState<State<T>>({ status: "loading" });
 
  useEffect(() => {
    if (!url) {
      setState({ status: "error", message: "No server URL is configured" });
      return;
    }
    const controller = new AbortController();
    const timer = setTimeout(() => controller.abort(), timeoutMs);
 
    fetch(url, { signal: controller.signal })
      .then((res) => {
        if (!res.ok) throw new Error(`HTTP ${res.status}`);
        return res.json() as Promise<T>;
      })
      .then((data) => setState({ status: "ok", data }))
      .catch((e: Error) =>
        setState({ status: "error", message: e.name === "AbortError" ? "The request timed out" : e.message })
      )
      .finally(() => clearTimeout(timer));
 
    return () => {
      clearTimeout(timer);
      controller.abort();
    };
  }, [url, timeoutMs]);
 
  return state;
}

Eight seconds is just my starting value; given a reviewer might be on a slow connection, it's a range I'd call neither too short nor too long. Tune it to your app.

With this in place, the next rejection reads differently. "No server URL is configured" in a screenshot lets you name the cause yourself.

Also fill in the review notes in App Store Connect: a demo account if there's a login, the conditions under which your back end responds, and any screen that needs location. That is exactly what Guideline 2.1 asks for.

Recreate the reviewer's conditions on your machine

An earlier version of this article said eas env:create. The current EAS CLI reference (27.5.0) lists eas env:set, which creates or updates, so the commands above now use that. Accepted --visibility values are plaintext, sensitive and secret.

Before you resubmit, try to reproduce the blank screen before it reaches TestFlight. It turns an overnight wait into minutes.

# Pull plaintext and sensitive values from production into .env.local
# Secret entries come back as comments, not values
eas env:pull --environment production
 
# Turn off dev mode and start closer to a release build
npx expo start --no-dev --minify

--no-dev runs the JS in production mode and --minify shrinks the bundle. Per Expo's documentation, console logs do not appear in the Expo CLI terminal in production mode; read them from the device's native logs. Close and reopen the app after switching modes.

If it goes blank here, the cause is in how variables are picked up or in startup code. This is not a perfect copy of EAS's cloud build, though. Secret values never come down to your machine, so anything depending on a secret cannot be judged here.

Put the startup check on screen too. Listing the missing names is enough:

// App.tsx - show the missing names instead of a blank screen
import { Text, View } from "react-native";
import { missingConfigKeys } from "./config";
 
export default function App() {
  const missing = missingConfigKeys();
  if (missing.length > 0) {
    return (
      <View style={{ flex: 1, justifyContent: "center", padding: 24 }}>
        <Text>Missing configuration:</Text>
        {missing.map((k) => (
          <Text key={k}>{k}</Text>
        ))}
      </View>
    );
  }
  return <Root />;
}

I ran the check function and the timeout skeleton of the fetch hook under Node 22. A URL that never answers aborts at 300 ms as a timeout, an HTTP 500 comes back as HTTP 500, a normal response returns its data, and with the variables unset both names are reported missing. I have not rendered the React Native side on a device, so please try that part in your own setup.

When it still isn't fixed

If you still can't pin it down, go collect evidence.

  1. Install the store build on a real device, connect it to a Mac, and read the console. In Xcode's Devices and Simulators, select the device and open the console to see the logs from launch. It tells you whether the app crashed or swallowed an exception.
  2. Check TestFlight crash feedback and Xcode Organizer. If it crashed, logs exist. If none exist, the app didn't crash; it failed to draw.
  3. Imitate the reviewer. Fresh install, signed out, every permission denied, airplane mode. Launch under those conditions and see what appears.

You may also hit a build-number wall on resubmission: a new upload must exceed earlier ones. Run eas build:version:get to see EAS's current value and eas build:version:set to align it if needed. It isn't the cause of a blank screen, but being stopped right after fixing the real problem is a good way to lose heart.

One principle to leave you with:

The problem with a blank screen isn't that nothing is drawn; it's that no reason is drawn.

As a first step, run eas env:list --environment production and check that every name your code reads is there. Before I submit anything, that one line is my last check.

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

◇ App Dev2026-10-31
When EAS Build Stops at "Project archive is too big", Count What Gets Uploaded, Largest First
EAS Build warns at 150 MiB and fails at 2 GiB. Here is how to list what will be uploaded before you send it, find the culprit, and decide what goes into .easignore.
◇ App Dev2026-10-22
Expo SDK 58 With Stripe: pod install Stops, and Whether to Turn Off Precompiled Modules or Wait
useFrameworks is already dynamic, yet pod install says Stripe is static and the SDK 58 iOS build stops. The reported conditions, three ways out, and a small script to check your own project first.
◇ App Dev2026-10-15
When adjustsFontSizeToFit Shrinks Just One Row, Suspect the Box Height, Not the String
Only the 10th row of a list drops to 4pt on iOS, though the data and strings are fine. I read the Yoga rounding and font-fit sources, then counted how often the box comes up short in Node.