Can't make it work
See original GitHub issueHi
I am trying to use this module. I created the rn-cli.config.js and transformer.js file in my project root folder and kept the default obfuscatingTransformer options (So module.exports = obfuscatingTransformer({})
).
But this doesn’t seem to work. The index.android.bundle file in the generated app-release.apk still remains unobfuscated (I performed a gradlew assembleRelease
like usual to create the bundle before
react-native run-android --variant=release
)
What am I doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (1 by maintainers)
Top Results From Across the Web
Which is correct “I can't make it work” or “I can't make it to work”?
In “I can't make it work,” “work” is a verbal, a “bare” infinitive without the “to” sign, as is usual after “make”; in...
Read more >Why Loving Someone Isn't Enough to Make It Work
Loving someone isn't enough to make it work. Ask yourself these 5 questions to know if your relationship has the potential to last....
Read more >We Love Each Other But Can't Seem To Make It Work
We Love Each Other But Can't Seem To Make It Work. With Dr. Joe Beam. A More Realistic View Of An Amazing Relationship....
Read more >I can't make it to work today. - WordReference Forums
"I can't make it to work today" means that you cannot attend your place of work, and it implies a journey. Perhaps your...
Read more >when two people love each other and can't make it work is the ...
"when two people love each other and can't make it work is the real tragedy" | Loving two people, Words quotes, Quotes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I finally figured out how to make it work after several test.
my react and react native version:
install other dependencies needed:
transformer.js
metro.config.js
NOTE:
set emitObfuscatedFiles to true in obfuscatorOptions to emit the obfuscated versions of files alongside their originals, for comparison.
If you’re building in release, you can also compare the generated index.android.bundle (located in \android\app\build\generated\assets\react\release) with and without using the react-native-obfuscating-transformer using online diff tool to see the difference
try this https://www.npmjs.com/package/obfuscator-io-metro-plugin