SReverseby Simpa Labs

React Native analysis

Following a React Native request from the bundle across the bridge

React Native combines JavaScript with native Android code. Trace the loaded bundle and native modules to locate the functions that build each request.

Where the logic actually lives

React Native combines JavaScript with native Android code. Inspect the loaded bundle and native modules to locate request construction. Follow the loader to identify the code used by the installed version.

That layout changes the first question. Instead of reading classes, you locate the bundle, identify the JavaScript engine, and find the module that performs network calls. A release bundle is minified, so function names carry no meaning. A bundle compiled to Hermes bytecode is not text at all and needs a tool that understands the bytecode format before anything becomes readable.

What sits around the request

The bundle contains more than a URL list. Practical jobs usually need all of the following, and they are found in different places.

  • The HTTP client the app uses. The built in fetch implementation and the XMLHttpRequest polyfill both route through the platform networking stack, while third party clients add their own configuration.
  • The interceptor or wrapper that adds headers, a device value or a signature before the call leaves JavaScript.
  • Configuration values such as the base URL per build, feature flags and API version, which are often selected at build time and baked into the bundle.
  • Native modules that JavaScript calls: inspect the call site and arguments in the bundle, then trace the native computation.

Read the bundle without reading everything

Bundle analysis scales badly if you start at the top. Start from a captured request instead.

  • Take a distinctive string from the traffic, such as a path segment or a header value, and search the bundle for it.
  • Follow the callers of the match. Minification preserves structure, so the shape of a function that builds a request object remains visible even when its name does not.
  • Locate the point where the request object is finalized, which is where headers and signatures are attached.

When the bundle is Hermes bytecode, the same approach applies after disassembly. Strings and structure survive compilation, and the disassembly lists them in a form you can search. The output is closer to assembly than to JavaScript, so the goal is to identify data flow between a small number of functions rather than to recover the whole application.

Follow the bridge when the bundle stops

Some values cross into native code. When a signing routine is implemented as a native module, the bundle shows a call with arguments and a return value, and the algorithm is elsewhere.

Instrument both sides. On the JavaScript side, log arguments and results around the call. On the native side, locate the module's implementation and follow its calls into any compiled libraries. Comparing the two views shows what changed in between, and it separates a value that JavaScript computed from one that the platform produced. From there the analysis continues in the compiled library, which is where JNI level work begins.

Verify the derivation rather than assume it

For signed requests, recover the canonical bytes, signing algorithm and headers checked by the server. Compare them with fresh app requests.

  • Hold every input constant and compare the app output with yours. Equality on one sample is weak evidence, so repeat with a changed body, a changed path and a changed timestamp.
  • Where the outputs differ, vary one input at a time to find where your reading diverges.
  • Send your version to the server and treat the response as the final test, since the server enforces the parts of the scheme the client only appears to enforce.

Deliver a client you can maintain

A React Native job usually ends with a portable client rather than with a patched bundle. The client implements the endpoints, the request shapes, the derived headers and the token flow in a language your team already runs, and it keeps its own tests against the live service. Keep request building, signing and session handling in separate modules with regression tests. When the backend changes, compare the failed flow with the current app and update the affected module.

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?