Cordova · Ionic · Capacitor
“It’s a native app” is not a protection strategy.
A hybrid app feels compiled — it installs from a store, it has an icon, it runs in a native shell. But inside the APK or IPA, your app is still HTML, CSS, and JavaScript sitting in a folder, run by the system WebView. An APK is a ZIP; so is an IPA. Anyone can unpack it and read your code. The packaging changed; the exposure didn’t.
Try It Yourself
unzip app-release.apk → assets/www/
There’s your bundle — the same JavaScript you’d serve on the web, minus the URL bar. Protect it the same way, and stop trusting the wrapper.
JS is readableThe bundle ships as files in the package.
Secrets are publicA key in the bundle is extractable in minutes.
Native shielding is separateJS obfuscation is one layer, not all of them.