React Native and Expo apps still expose their JavaScript bundle inside the installed app
Apps built with React Native or Expo ship their JavaScript or TypeScript logic inside the native binary, whether as a plain bundle or as Hermes bytecode. That code can be extracted from the APK, IPA, or an over-the-air update by anyone who looks, so being a mobile app does not protect it. The article notes that Hermes raises the effort needed to read the code but does not encrypt it, and that OTA update payloads can be an easier source to copy. It advises keeping entitlements, secret keys, and authoritative pricing on the server, and applying real protection such as obfuscation to any sensitive logic that must run locally. It also warns against shipping public source maps or unprotected debug bundles.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in