react-native-obfuscating-transformer icon indicating copy to clipboard operation
react-native-obfuscating-transformer copied to clipboard

Question: How obfuscated is react native code by default?

Open jay-jlm opened this issue 6 years ago • 2 comments

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.

jay-jlm avatar Mar 06 '19 07:03 jay-jlm

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, [email protected] 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 .

ds300 avatar Mar 06 '19 09:03 ds300

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?

jay-jlm avatar Mar 08 '19 00:03 jay-jlm