marketing_cloud_flutter 0.0.9 marketing_cloud_flutter: ^0.0.9 copied to clipboard
Salesforce Marketing Cloud SDK flutter plugin for Android and iOS.
marketing_cloud_flutter #
Salesforce Marketing Cloud SDK flutter plugin for Android and iOS
This plugin is a wrapper of the native SDKs which can be found here:
More info about the functionallity of the SDK on each platform can be found on those repositories.
Usage #
Setup #
- Android: Set parameters on string.xml
- iOS: Set parameters on info.plist
Set contact key #
When the user start the app or authenticate.
final _marketingCloudFlutterPlugin = MarketingCloudFlutter();
await _marketingCloudFlutterPlugin.setContactKey("marcelo7");
Replacing marcelo7
with the user contact key.
Publishing #
If your app is distributed through the Apple App Store or Google Play Store, you must comply with the data policies and rules for each store. When using this SDK in your app you must ensure the following: