Releases: braze-inc/braze-unity-sdk
Releases · braze-inc/braze-unity-sdk
7.1.0
7.0.0
Breaking
- Updated the native Android bridge from Braze Android SDK 30.3.0 to 32.1.0.
- Updated the native iOS bridge from Braze Swift SDK 9.0.0 to 10.1.0.
Fixed
- Fixed an issue on Android where the
AndroidPushReceivedTimestamp
of aPushNotification
was incorrectly translated from along
to anint
. The value received by the C# layer is now the same as the value sent in the JSON.
Added
- On the
FeatureFlag
object, added these APIs to get specific properties:featureFlag.GetTimestampProperty(string id)
for accessing Int Unix UTC millisecond timestamps aslong?
s.featureFlag.GetJSONProperty(string id)
for accessing JSON objects asJSONObject?
types.featureFlag.GetImageProperty(string id)
for accessing image URLs asstring?
s.
- Updated the following APIs to use Pascal case and deprecated the previous variant:
featureFlag.GetStringProperty(string id)
, replacinggetStringProperty
featureFlag.GetIntegerProperty(string id)
, replacinggetIntegerProperty
featureFlag.GetDoubleProperty(string id)
, replacinggetDoubleProperty
featureFlag.GetBooleanProperty(string id)
, replacinggetBooleanProperty
- Added the method
AppboyBinding.SetUserLanguage(string)
for setting the language user attribute. - Added the method
AppboyBinding.SetAdTrackingEnabled(bool adTrackingEnabled, string googleAdvertisingId)
to set theadTrackingEnabled
flag on iOS and both theadTrackingEnabled
flag and theGoogle Advertising ID
on Android. - Added support to modify the allow list for Braze tracking properties via the following C# properties and methods:
TrackingProperty
classTrackingPropertyAllowList
classAppboyBinding.UpdateTrackingPropertyAllowList(TrackingPropertyAllowList)
to modify the allow list for Braze tracking properties.- For details, refer to the Braze iOS Privacy Manifest documentation.
- Added the
InAppMessage.IsTestSend
property to indicate whether an in-app message was sent as a test send. - Added the method
AppboyBinding.HideCurrentInAppMessage()
to hide the visible in-app message, if applicable.
6.0.0
Breaking
- Updated the native iOS bridge from Braze Swift SDK 7.7.0 to 9.0.0.
- Updated the native Android bridge from Braze Android SDK 29.0.1 to 30.3.0.
Added
- Added iOS In App Message Manager Initial Display Operation configuration setting.
- This setting allows you to configure the initial display operation for in-app messages on iOS. For instance, set it to Display Later to delay the initial display of in-app messages until after your game has finished loading, and use the
AppboyBinding.DisplayNextInAppMessage()
method to display it when ready.
- This setting allows you to configure the initial display operation for in-app messages on iOS. For instance, set it to Display Later to delay the initial display of in-app messages until after your game has finished loading, and use the
- Added the Entitlements File Path configuration setting.
- This setting allows you to specify the path to an entitlements file to be used / modified by Braze in the Xcode project.
- If left blank, the default entitlements file will be used / created.
5.2.1
5.2.0
Added
- Updated the native iOS bridge from Braze Swift SDK 7.4.0 to 7.7.0.
- Updated the version of
SDWebImage
from 5.15.5 to 5.19.0 when automatically importing via "Braze Configuration".- This version of
SDWebImage
contains a Privacy Manifest file. See Apple's documentation for more information.
- This version of
5.1.0
Added
- Added support for custom user attributes to be nested objects.
AppboyBinding.SetCustomUserAttribute(string, Dictionary<string, object>);
AppboyBinding.SetCustomUserAttribute(string, List<Dictionary<string, object>>);
- You can specify that the Dictionary be merged with the existing value.
AppboyBinding.SetCustomUserAttribute(string, Dictionary<string, object>, bool merge);
- See https://www.braze.com/docs/user_guide/data_and_analytics/custom_data/custom_attributes/nested_custom_attribute_support/ for more information.
- Added
AppboyBinding.LogFeatureFlagImpression(string id)
to log a Feature Flag impression.
5.0.0
Breaking
- Updated the native iOS bridge from Braze Swift SDK 6.1.0 to 7.4.0.
- The iOS repository link now points to the prebuilt dynamic XCFrameworks from this repo:
https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic
.
- The iOS repository link now points to the prebuilt dynamic XCFrameworks from this repo:
- Updated the native Android bridge from Braze Android SDK 27.0.1 to 29.0.1.
AppboyBinding.GetFeatureFlag(string id)
will now returnnull
if the Feature Flag does not exist.FEATURE_FLAGS_UPDATED
will only trigger when a refresh request completes with success or failure, and upon initial subscription if there was previously cached data from the current session.
Fixed
- Fixed an issue introduced in
4.0.0
which prevented compilation on Xcode 14.3+.- The additional
-fcxx-modules
flag under "Other C++ Flags" has been removed from the build process. - The dependencies
BrazeKit
andBrazeUI
now get directly linked to the main app's target, instead of being transitively linked viaUnityFramework
.
- The additional
- Changed the iOS plugin to automatically update up to the next minor version, instead of up to the next major version.
4.3.0
4.3.0
Starting with this release, this SDK will use Semantic Versioning.
Changed
- Updated the Android plugin to use Braze Android SDK 27.0.1.
4.2.0
4.2.0
Breaking
- Updated the Android plugin to use Braze Android SDK 26.2.0
Fixed
- Fixed an issue on Android where In-App Message events would not properly get forwarded to the Unity layer.