Install and configure
Install and configure the unified Flutter plugin for your app.
Install the product package that matches your implementation.
To use the plugin with Marketing Cloud Engagement, use sfmc_marketingcloudsdk:
To use the plugin with Marketing Cloud Next, use sfmc_mobileappmessaging:
Both sfmc_marketingcloudsdk and sfmc_mobileappmessaging depend on sfmc_core. When you install one of these packages, the system resolves sfmc_core automatically. Install optional feature packages only when your app requires them.
Use each module’s requestSdk() API to initialize the native SDK and access typed SDK operations. If you make a subsequent call to requestSdk(), the SDK doesn’t perform any action.
See each package’s README for full API documentation with links to native SDK docs.
After you install the base components, complete the platform-specific setup steps.