4.0.0
Breaking
- Renamed instances of
Appboy
toBraze
.- To ensure that your project is properly migrated to the new naming conventions, note and replace the following instances in your project:
- The plugin has been renamed from
cordova-plugin-appboy
tocordova-plugin-braze
.- Ensure that you run
cordova plugin remove cordova-plugin-appboy
and then re-add the plugin using the instructions in the README.
- Ensure that you run
- This GitHub repository has been moved to the URL
https://github.com/braze-inc/braze-cordova-sdk
. - In your project's
config.xml
file, rename instances ofcom.appboy
tocom.braze
for each of your configuration property keys. - The JavaScript class interface
AppboyPlugin
has been renamed toBrazePlugin
.
- The plugin has been renamed from
- To ensure that your project is properly migrated to the new naming conventions, note and replace the following instances in your project:
- Updated to Braze Android SDK 25.0.0.
- Updated to Braze Swift SDK 5.13.0.
- This update fixes the iOS behavior introduced in version
2.33.0
when logging clicks for content cards. CallinglogContentCardClicked
now only sends a click event for metrics, instead of both sending a click event as well as redirecting to the associatedurl
field.- For instance, to log a content card click and redirect to a URL, you will need two commands:
BrazePlugin.logContentCardClicked(contentCardId); // Your own custom implementation YourApp.openUrl(contentCard["url"]);
- This brings the iOS behavior to match pre-
2.33.0
versions and bring parity with Android's behavior.
- This update fixes the iOS behavior introduced in version
Added
- Added property methods for Feature Flags:
getFeatureFlagBooleanProperty(id, key)
,getFeatureFlagStringProperty(id, key)
,getFeatureFlagNumberProperty(id, key)