import com.moengage.flutter.MoEInitializerimport com.moengage.core.MoEngageimport com.moengage.core.DataCenter...// `this` is the instance of the application class and "YOUR_WORKSPACE_ID" is the Workspace ID from the dashboard.val moEngage: MoEngage.Builder = MoEngage.Builder(this,"YOUR_WORKSPACE_ID", DataCenter.DATA_CENTER_X) MoEInitializer.initialiseDefaultInstance(context = this, builder = moEngage)
import com.moengage.flutter.MoEInitializer;import com.moengage.core.MoEngage;import com.moengage.core.DataCenter;...// `this` is the instance of the application class and "YOUR_WORKSPACE_ID" is the Workspace ID from the dashboard.MoEngage.Builder moEngage = new MoEngage.Builder(this, "YOUR_WORKSPACE_ID", YOUR_DATA_CENTER);MoEInitializer.initialiseDefaultInstance(this, moEngage);