SReverseby Simpa Labs

Expo

Expo apps and where the API keys actually live

An Expo app is a React Native app with a configuration layer on top, and that layer decides which values are baked into the package and which never leave the build machine.

Expo separates shipped values from build server values

An Expo app carries a configuration layer that decides what reaches the package. That layer separates two kinds of value. A value the JavaScript reads at run time has to exist in the app in some form. A value that only the build server used, such as a distribution credential or a store upload key, never becomes part of the artifact you are given. Extraction is therefore a question about which category a key belongs to.

The useful consequence is that the answer usually lies in the JavaScript bundle, because any value the app sends to an HTTP call has to exist on the device.

Public build time values end up inside the bundle

Expo replaces supported static references such as process.env.EXPO_PUBLIC_API_URL during bundling. Bracket access and destructuring do not use that replacement. Read the Expo environment-variable rules, then inspect the actual bundle format.

Configuration declared in the app manifest behaves the same way through the extra field. Values placed there are carried into the app and are readable from the app's own configuration object while it runs, which means they are also readable from the package.

  • Trace a shipped value to its use. Search decoded strings and references. Inlining replaces the expression, so the original variable name need not survive.
  • A shipped configuration value is in the manifest the runtime reads. The same value reaches the app through its configuration object, so it exists in the package rather than only on the build machine.
  • Separate build credentials from app inputs. Signing and upload credentials have no normal runtime role. EAS visibility settings protect build access; a value embedded by build code is still shipped. Expo documents that distinction.

Third party keys arrive through native configuration

Some keys belong to a service the native side initialises, and the build stores them the way any Android app stores them: in a resource file, in manifest metadata, or in a service-specific configuration file placed in the package. They ship by design, because the SDK on the device reads them at startup, and the ordinary resource and manifest reading that applies to any APK finds them.

Where the bundle sits in an Expo package

Locate the bundle before searching it. List assets and follow the bundle loader. File size helps build a shortlist; the loaded path and validated format identify the bundle. The app manifest also names the update configuration the runtime uses, and that entry is worth reading first because it tells you whether the packaged bundle is the only code the app can run.

Which copy of the bundle is the running one

An Expo app can receive updated JavaScript from an update service, so the bundle in the installed APK is the first one the device had and not necessarily the one it runs. Check isEmbeddedLaunch, updateId and runtimeVersion before collecting the loaded bundle. Keep its hash with the package version and compare it with the embedded copy. Expo Updates documents those runtime fields. Refreshed values also come from server configuration, so trace their source.

What to do once the keys are out

A key on its own rarely makes a working client. The request also carries a session, a set of headers and often a value computed for that call, and the server may check all of them together. Treat the key as one recovered input and continue with the request construction in the bundle, which is where the endpoint list and the header logic live.

Verify the value's role with controlled requests and its call path. Hold other inputs fixed, then compare valid, missing and changed values. Record account and session state: one accepted request does not isolate what the server checked.

SReverse delivers the full APK's API in Python, JavaScript/TypeScript, Postman and complete documentation. Projects start at $70 and most finish in 24 to 72 hours.

Reviewed 19 October 2026 · SReverse research desk

Start your full APK reconstruction

Send the full APK

Projects start at $70. Choose WhatsApp or email, then attach the APK in the app that opens. We reply within one hour with the next step and send the fixed quote after review.

Want us to contact you?