Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5. Optional: configuration for static obfuscation

You can enable Mobile Protect obfuscation in the project build.gradle with:

Code Block
MobileProtectPluginConfiguration { 
    enableObfuscation = true
}

If static obfuscation is enabled for a Cordova project then the following proguard rules must be added to your proguard-rules.pro file in order to prevent plugins from breaking:

...