configureMiPush

open fun configureMiPush(appId: String, appKey: String, enableTokenRegistration: Boolean): MoEngage.Builder

Configure Mi Push.

Return

instance of MoEngage

Deprecated

since 10.5.00 use configureMiPush

Parameters

appId

App-Id from the Mi Dashboard.

appKey

App-Key from the Mi Dashboard.

enableTokenRegistration

true if you want the MoEngage SDK to register for Push Token else false.


open fun configureMiPush(@NonNull config: MiPushConfig): MoEngage.Builder

Configure Mi Push.

Return

instance of MoEngage.Builder

Parameters

config

instance of MiPushConfig