Additional Encryption

By default, we use HTTPS protocol for all requests made from the SDK, HTTPS encrypts the requests by default. MoEngage SDK optionally adds another layer of encryption apart from the encryption done by HTTPS.
To enable this additional encryption you need to

SDK Installation

Installing using Catalog

Integration using a Version Catalog is the recommended way of integration, refer to the Configure Version Catalog document to configure a catalog if not done already. Once you have configured the catalog add the dependency in the app/build.gradle file as shown below

build.gradle

    dependencies {
    	...
    	implementation(moengage.security)
    }
    

Alternatively, you can add the dependency directly like shown below.

Installing using Artifact Id

Add the following dependency in the app/build.gradle file.

build.gradle

    dependencies {
    	...
      implementation("com.moengage:security:$sdkVersion")
    }
    

replace $sdkVersion with the appropriate SDK version

 

NOTE

Adding the above dependency and enabling flag isn't enough for this feature to work, there is some additional configuration required on our side to completely enable this feature. In case you want to use this feature reach out to your account manager or drop us an email at support@moengage.com.

Version Compatability

The security artifact/module is dependent on the Core SDK or moe-android-sdk artifact/module.
Based on the version of the Core SDK you are using choose the right version of the Security module.

Core SDK Version Security

12.0.00 and above

2.0.0 and above
Was this article helpful?
0 out of 0 found this helpful