Marketing Cloud Mobile App Messaging SDK

This section provides API reference details for the Marketing Cloud Mobile App Messaging SDK module in React Native unified plugin.

Returns the device ID that Mobile App Messaging uses to identify the device.

  • Promise<string \| null> - A promise that resolves to the device ID, or null.

Enables analytics in the Mobile App Messaging SDK.

  • void

Disables analytics in the Mobile App Messaging SDK.

  • void

Checks whether analytics is enabled in the Mobile App Messaging SDK.

  • Promise<boolean> - A promise that resolves to whether analytics is enabled.

Registers a callback to receive registration change events from the SDK.

  • void

Unregisters the registration change callback.

  • void