braze_plugin 0.2.0
braze_plugin: ^0.2.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.
0.2.0 #
Breaking
- The native iOS bridge uses Braze iOS SDK 3.14.0.
- The native Android bridge uses Braze Android SDK 3.2.1.
Added
- Adds
addAlias()to the public API interface. - Adds
requestLocationInitialization()to the public API interface. - Adds
getInstallTrackingId()to the public API interface. - Adds support for disabling native in-app message display on Android.
- To disable automatic in-app message display, create a boolean element named
com_appboy_inapp_show_inapp_messages_automaticallyin your Android app'sappboy.xmland set it tofalse. - Note: Disabling automatic in-app message display was already possible for iOS. For instructions, see
README.md.
- To disable automatic in-app message display, create a boolean element named
- Adds a Dart callback for receiving Braze in-app message data in the Flutter host app.
- Analytics are not currently supported on messages displayed through the callback.
- To set the callback, call
BrazePlugin.setBrazeInAppMessageCallback()from your Flutter app with a function that takes aBrazeInAppMessageinstance.- The
BrazeInAppMessageobject supports a subset of fields available in the native model objects, includinguri,message,header,buttons, andextras.
- The
- The callback should begin to function on Android immediately after being set.
- On iOS, you will additionally need to implement the
ABKInAppMessageControllerDelegatedelegate as described in our public documentation. YourbeforeInAppMessageDisplayeddelegate implementation must callBrazePlugin.process(inAppMessage). For an example, seeAppDelegate.swiftin our example app.
0.1.1 #
- Formatted
braze_plugin.dart.
0.1.0 #
- Removes the unused
dart:asyncimport inbraze_plugin.dart. - Makes
_callStringMethodprivate inbraze_plugin.dart. - Adds basic dartdoc to the public API interface.
0.0.2 #
- Updates the version of Kotlin used by the Android plugin from
1.2.71to1.3.11.
0.0.1 #
- Initial release.
- The native iOS bridge uses Braze iOS SDK 3.12.0.
- The native Android bridge uses Braze Android SDK 3.1.0.