Releases: braze-inc/braze-unity-sdk
Releases · braze-inc/braze-unity-sdk
4.1.0
Added
- Added support for Feature Flags.
AppboyBinding.GetFeatureFlag(string id)
- Get a single Feature Flag.AppboyBinding.GetAllFeatureFlags()
- Get all Feature Flags.AppboyBinding.RefreshFeatureFlags()
- Request a refresh of Feature Flags.
- Adds the ability to subscribe to Feature Flag updates.
- Set the values for
Game Object Name
andCallback Method Name
under "Braze Configuration" > "Feature Flags" to the corresponding values in your application.
- Set the values for
- On
FeatureFlag
object, adds these APIs to get specific properties:featureFlag.getStringProperty(string id)
featureFlag.getIntegerProperty(string id)
featureFlag.getDoubleProperty(string id)
featureFlag.getBooleanProperty(string id)
- Updated the iOS plugin to use the Braze Swift SDK 6.1.0.
4.0.0
4.0.0
Breaking
- Updated the Android plugin to use Braze Android SDK 25.0.0
- Updates the native iOS bridge to use the new Swift SDK version 6.0.0.
- Replace any instances of
#import <Appboy_iOS_SDK/AppboyKit.h>
in your iOS native code with:
@import BrazeKit; @import BrazeUI; // Only needed if you use the UI in the file
- Replace the prefix
ABK
withBRZ
for any of the constants found in AppboyUnityManager.h. - Update your
AppDelegate
file with the code snippet below. Reference our sample code here.
BRZConfiguration *config = [[BRZConfiguration alloc] init]; Braze *braze = [AppboyUnityManager initBraze:config];
- Reference this Migration Guide and this documentation for additional context around specific migration / integration steps.
- Replace any instances of
- Requires Unity version 2020.3.42 or newer.
- The following changes have been made to
AppboyUnityManager.h
:- Renames
addInAppMessageListenerWithObjectNameAndSetDelegate:callbackMethodName:
toaddInAppMessageListenerWithObjectName:callbackMethodName:
. - Renames
ABKUnityMessageType
toBRZUnityMessageType
. - Removes
parsePlist
since it is implemented as a part ofinitBraze:
.
- Renames
- Removes
setFacebookData
andsetTwitterData
fromAppboyBinding.cs
. - Removes the release asset
Appboy-nodeps.unitypackage
in favor of using the "Braze Configuration" option mentioned below.
Added
- Adds a configuration option under "Braze Configuration" which allows you to toggle between importing
SDWebImage
into your iOS application.- If checked, the build process will automatically add SDWebImage version 5.15.5 to your project. If unchecked, it will be omitted.
3.11.0
3.11.0
Breaking
- Updated the Android plugin to use Braze Android SDK 23.3.0.
- Streamlined the integration required for handling push notifications on Android.
- References to
AppboyUnityPushBroadcastReceiver
must be removed from yourAndroidManifest.xml
file. - Removed
binding.FlushAndroidPendingPushIntents()
.
- References to
3.10.0
3.9.0
3.9.0
Breaking
- Updated the Android plugin to use Braze Android SDK 23.1.0.
- Added the ability to request push notification permissions on Android 13+ devices via
Appboy.AppboyBinding.PromptUserForPushPermissions(false)
.- Either
true
orfalse
result in the push prompt being shown, on Android. The parameter is unused.
- Either
Fixed
- Fixed an issue where
AppboyBinding.logPurchase()
calls could fail on Android based on the device locale.
3.8.1
3.8.1
Added
- Added Assembly Definitions for the SDK.
- See the Unity Asm Def docs for more information.
- Special thanks to @starikcetin!
3.8.0
3.8.0
Breaking
- Removed
AppboyBinding.SetUserAvatarImageURL()
from the binding. Utilities/MiniJson.cs
now usesInvariantCulture
during serialization.- Updated the Android plugin to use Braze Android SDK 21.0.0
- This SDK version relies on
implementation "androidx.recyclerview:recyclerview:1.2.1
or higher.
- This SDK version relies on
Added
- Added
AppboyBinding.SetUserLastKnownLocation()
to manually set the last known location for the user. - Added SDK Authentication Support.
- Added
AppboyBinding.SetSdkAuthenticationSignature(sdkAuthSignature)
to set the signature only. - Added
AppboyBinding.ChangeUser(userId, sdkAuthSignature = null)
to optionally set the SDK Authentication signature when changing users. - Added SDK Authentication under "Braze Configuration". There are separate configurations for iOS and Android. If you want to configure at runtime, use:
AppboyBinding.IOSSdkAuthenticationFailureGameObjectName
,AppboyBinding.IOSSdkAuthenticationEnabled
, andAppboyBinding.IOSSdkAuthenticationFailureCallbackMethodName
for iOS.AppboyBinding.AndroidSdkAuthenticationEnabled
,AppboyBinding.AndroidSdkAuthenticationFailureGameObjectName
, andAppboyBinding.AndroidSdkAuthenticationFailureCallbackMethodName
for Android.
- Added
Changed
- Updated the iOS plugin to use Braze iOS SDK 4.4.3.
3.7.1
3.7.0
3.7.0
Breaking
- Updated the Android plugin to use Braze Android SDK 18.0.0.
- This SDK version requires a dependency on Kotlin coroutines. This can be added to your
mainTemplate.gradle
file viaimplementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
- This SDK version requires a dependency on Kotlin coroutines. This can be added to your
Fixed
- Fixed an issue where
AppboyUnityPlayerActivity
could not be extended on Android.
3.6.0
3.6.0
Breaking
- Updated the Android plugin to use Braze Android SDK 16.0.0.
- This SDK version requires a dependency on Kotlin. This can be added to your
mainTemplate.gradle
file viaimplementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.21"
- This SDK version has removed a dependency on the
appcompat
library.
- This SDK version requires a dependency on Kotlin. This can be added to your
Added
- Added
AppboyBinding.AddToSubscriptionGroup()
andAppboyBinding.RemoveFromSubscriptionGroup()
to the binding. - Added the
DisplayNextInAppMessage()
method, available on both iOS and Android. - Added the ability to receive in-app messages UI events via
AppboyBinding.inAppMessageListener
. SeeBrazeInAppMessageListener
for more information.
Changed
- Updated the native iOS bridge to Braze iOS SDK 4.3.3.
- Removed the iOS specific method
DisplayNextInAppMessage(bool withDelegate)
.