Android SDK Initialisation

SDK Configuration

Get APP ID from the Settings Page on the MoEngage dashboard and initialize the MoEngage SDK in the Application class's OnCreate()

MoEngage.Builder builder = new MoEngage.Builder(this, "XXXXXX");
MoEInitializer.Initialize(builder.Build());

❗️

Note

All the configuration should be added to the builder before calling initialize. If you are calling initialize at multiple places please ensure that all the required flags and configuration are set each time you initialize to maintain consistency in behavior.