SReverseby Simpa Labs

React Native

React Native bundle to API endpoints

Locate the JavaScript bundle and the app's native networking modules, then trace where each request is built.

Find the bundle and identify its format

React Native keeps its JavaScript in the assets folder of the APK, usually as index.android.bundle. List packaged assets and installed splits, then inspect the configured bundle loader.

The first bytes decide how you read it.

  • A readable file is JavaScript. Metro bundled and minified it, so names are short but the code still parses as source.
  • A Hermes bytecode file has a Hermes format marker and version. Check both, then use a compatible parser to read its function and string tables.
  • A compressed or encrypted file needs its own loader check. Unpack a recognized compression format. For encrypted assets, trace the loader's decode step and inspect the bytes passed to the runtime.

Endpoints in the bundle

In plain JavaScript, read the bundle as source. Endpoint paths, header names, storage keys and JSON field names survive minification because the runtime looks them up by name on objects and in storage, and those literals cannot be renamed safely. A search for a scheme, a leading slash or a known header name produces the endpoint inventory quickly.

In Hermes bytecode, the string table is the fastest route and can be read without understanding a single instruction. The table gathers literals in one place, and string references lead to the functions that use them. A disassembler such as hermes-dec or hbctool exposes the header and the table, and following a string to the functions that reference it shows the call site.

React Native obfuscation usually focuses on the JavaScript rather than on the Java layer, which works in your favour: after the bundle is readable, the endpoint map comes back fast even when local variable names are gone.

Base URLs that never appear as one string

A common obstacle is that no literal contains a full URL. React Native apps build the base address at runtime from configuration, from a native constant read over a platform channel, or from a host selected by a build flag. The bundle then holds path fragments and a configuration object instead of one address.

Two steps resolve this. First, search the bundle for a path fragment you recognise from captured traffic and read the object it is joined to. Second, inspect the native constants and computation, then follow how JavaScript receives and uses the result. Captured traffic confirms which combination of host and path the running app actually uses.

Headers and request signing in JavaScript

Header construction is usually visible in the bundle next to the call. An interceptor, a wrapper around fetch or a generated client sets the authentication header, the content type and any application identifier.

Follow the signing call from its JavaScript inputs to the function that produces the result. For signing written in JavaScript, read the input order, encoding and key handling in the bundle. For a native signing call, trace those arguments into the native module. Compare the result with fresh requests from the app.

The bundle shows the arguments passed to a native module and how its result is used. Read the native implementation to recover the computation, then observe the app to collect fresh outputs such as attestation tokens and keystore-backed signatures.

What the bundle does not tell you

Read the code that creates fresh request values, starts a session and stores state between launches. Run a fresh session to check the values, call order and active branches against the code.

That last point matters for a client that has to run unattended. Token storage keys visible in the bundle show which state is cached, and the flow that refreshes it is visible in source, but reproducing the sequence reliably still requires watching a real session. Signing confirmation, identifier generation and token refresh are the three areas where the static reading has to be checked against observed behaviour.

From bundle to a working client

The bundle answers what to call and what to send, and runtime observation answers what has to be true when the call is made. Combining them produces a client that reproduces the requests rather than replaying a capture. SReverse recovers APIs from React Native apps and delivers a Python, JavaScript or TypeScript client with a Postman collection and documentation. Projects start at $70 and most are delivered in 24 to 72 hours. Apps that mix React Native screens with a heavy native layer are covered under APK to callable API.

Reviewed 18 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?