FcmConfig

fun FcmConfig(isRegistrationEnabled: Boolean)

Create an instance of Firebase Messaging Config.

Parameters

isRegistrationEnabled

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


fun FcmConfig(isRegistrationEnabled: Boolean, senderId: String?)

Parameters

senderId

sender-id/project id for the FCM project.

**Sender id is a mandate when you are using Instant apps and MoEngage SDK is

  • registering for push.**

isRegistrationEnabled

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