braze_plugin 0.1.0
braze_plugin: ^0.1.0 copied to clipboard
This is the Braze plugin for Flutter. Effective marketing automation is an essential part of successfully scaling and managing your business. Braze empowers you to build better customer relationships [...]
Braze Flutter SDK #
Effective marketing automation is an essential part of successfully scaling and managing your business. Braze empowers you to build better customer relationships through a seamless, multi-channel approach that addresses all aspects of the user life cycle Braze helps you engage your users on an ongoing basis.
This project contains the Braze plug-in package, a specialized package that allows integrators to use certain Braze APIs from Flutter app code written in Dart.
Getting Started #
-
Follow the directions in the Install Tab to import Braze into your project.
-
Instantiate an instance of the Braze plugin by calling
new BrazePlugin()
Android
-
In your
res/values
directory, create a file calledappboy.xml
and add your API key and set your custom endpoint as specified in our public documentation. -
Add required permissions to your
AndroidManifest
, as specified in our public documentation. -
To integrate push, follow the directions in our [public documentation(https://www.braze.com/docs/developer_guide/platform_integration_guides/android/push_notifications/integration/). Note that only registration using our "automatic FCM registration" is currently supported from Flutter apps.
iOS
-
Call
Appboy.startWithApiKey()
in yourAppDelegate
'sdidFinishLaunchingWithOptions
delegate method as specified in our [public documentation])(https://www.braze.com/docs/developer_guide/platform_integration_guides/ios/initial_sdk_setup/initial_sdk_setup/#step-4-updating-your-app-delegate). -
Set your custom endpoint as specified in our public documentation. We recommend the
Info.plist
approach.