javascript-obfuscator / react-native-obfuscating-transformer

Obfuscation for React Native bundles
MIT License
195 stars 99 forks source link

Question: How obfuscated is react native code by default? #8

Open jay-jlm opened 5 years ago

jay-jlm commented 5 years ago

I read on stack overflow that some obfuscation is already achieved by default in React Native during bundling/minification phase but I have not confirmed it. Do you happen to have more information or any links about this? I'm curious about how much I get by default and how much I would get from a library such as this one. Thank you.

ds300 commented 5 years ago

Last I checked react-native only minifies code and does some other trivial optimisations like constant folding. That does obfuscate a tiny bit, but nowhere near enough to deter reverse engineering.

On Wed, 6 Mar 2019, 07:40 joao@kapmug, notifications@github.com wrote:

I read on stack overflow that some obfuscation is already achieved by default in React Native during bundling/minification phase but I have not confirmed it. Do you happen to have more information or any links about this? I'm curious about how much I get by default and how much I would get from a library such as this one. Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/javascript-obfuscator/react-native-obfuscating-transformer/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/ABL1qRecrYrUv_75fKeTtivpugbVOuvpks5vT3DTgaJpZM4bgPsG .

jay-jlm commented 5 years ago

Thanks. A quick final question: can/should this lib be used also while sharing a debug view with a third party? Or is useful for release builds only? Maybe the dev build has some additional elements like source maps etc that cannot be obfuscated?