Install and Configure the Unified React Native Plugin

Install and configure the React Native unified plugin for your app.

Install the product package that matches your implementation.

To install Marketing Cloud Engagement, use @sfmc/react-native-marketingcloudsdk:

To install Mobile App Messaging, use @sfmc/react-native-mobileappmessaging:

Both marketingcloudsdk and mobileappmessaging depend on sfmc-core. When you install one of these packages, the system installs sfmc-core automatically. Install optional feature packages only when your app requires them.

Use each module’s requestSdk() API to access typed SDK operations.

After base installation, complete platform setup: