react-native-decompiler
react-native-decompiler copied to clipboard
Even a hello-world react native app fails to decompile
I'm not sure if this project still works. I created a very basic app.
$npm install
$npx react-native init ObfuscationDemo
Created a signed APK and tried to decompile it.
- Converted APK to .jar via
dex2jar - Decompile .jar file via
jd-gui
Then I try to to compile the javascript files in app-release/assets/index.android.bundle. But it doesn't work.
npx [email protected] -i app-release/assets/index.android.bundle -o ./output
Reading file...
[!] No modules were found!
[!] Possible reasons:
[!] - The React Native app is unbundled. If it is, export the "js-modules" folder from the app and provide it as the --js-modules argument
[!] - The bundle is a binary/encrypted file (ex. Facebook, Instagram). These files are not supported
[!] - The provided Webpack bundle input is not or does not contain the entrypoint bundle
[!] - The file provided is not a React Native or Webpack bundle.
Many Thanks
Same issue