- Obfuscate code helps.
- JS Bundles - https://github.com/vesselsoft/metro-minify-obfuscator
- Android -
Proguard/R8 - iOS - I dont know any that is open-source and works. Before deprecation,
BITCODEwas used. However there is a commercial one callediXGuard. - JS are still easier to
decompile/deobfuscatethannative, so ideally, if you can, the more you implement in thenativeside, the better. That's why one of the recommendations below is to use a single point of implementation, withRustorC++.
Jailbreak/rooted/emulatorchecks, close app if detected.- https://github.com/react-native-device-info/react-native-device-info#isemulator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export type HttpMethod = | |
| | 'GET' | |
| | 'POST' | |
| | 'PUT' | |
| | 'DELETE' | |
| | 'PATCH' | |
| | 'HEAD' | |
| | 'OPTIONS'; | |
| export type RequestConfig = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (typeof String.prototype.parseFunction != 'function') { | |
| String.prototype.parseFunction = function () { | |
| var funcReg = /function *\(([^()]*)\)[ \n\t]*{(.*)}/gmi; | |
| var match = funcReg.exec(this.replace(/\n/g, ' ')); | |
| if(match) { | |
| return new Function(match[1].split(','), match[2]); | |
| } | |
| return null; |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |