Push Messaging
This section provides API reference details for the Push Messaging module in the React Native unified plugin.
Enables push messaging in the native Marketing Cloud SDK.
void
Disables push messaging in the native Marketing Cloud SDK.
void
Returns the current state of the push-enabled flag in the native Marketing Cloud SDK.
Promise<boolean>- A promise that resolves to whether push messaging is enabled.
Returns the token that Marketing Cloud uses to send push messages to the device.
Promise<string \| null>- A promise that resolves to the push token string, ornull.