The SDK target and source compatible with version 8 of the Java Programming Language. Enable Java 8 in the application build.gradleif not done already. Path - android/app/build.gradle(.kts)
The SDK depends on a few Androidx libraries for its functioning, add the below Androidx libraries in your application’s build.gradle file in the dependencies block if not done already.Path - android/app/build.gradle(.kts)
The MoEngage SDK depends on the lifecycle-process library for a few key features to work and the latest version of lifecycle-process depends on the androidx.startup:startup-runtime library. Hence do not remove the InitializationProvider component from the manifest. When adding other Initializers using the startup-runtime make sure the Initializer for lifecycle-process library is also added. Refer to the documentation to know how to add the Initializer.