DexProtecting Hybrid and Cross-Platform Applications
It is straightforward to DexProtect a hybrid or cross-platform app developed using frameworks such as Cordova, React Native, and NativeScript.
First, specify the framework within the
<ios> element of the configuration file:
<ios> ... <cordova/> ... </ios>
<ios> ... <reactNative/> ... </ios>
<ios> ... <nativeScript/> ... </ios>
Then, target the JS and HTML files through Resource Encryption. That means setting a filter such as the following:
' <resourceEncryption mode="all"> <assets mode="on"> <filters> <filter>**.html</filter> <filter>**.js</filter> </filters> </assets> </resourceEncryption>
All additional protection mechanisms - further Resource Encryption, RASP Runtime Checks, Public Key Pinning, UI Protection, and Alice integration - can be applied as they would be with a native app.
DexProtector supports apps developed with Flutter in just the same way as native apps; there is no difference in the configuration requirements.