Skip to content

Releases: braze-inc/braze-unity-sdk

4.1.0

18 May 18:59
Compare
Choose a tag to compare
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 and Callback Method Name under "Braze Configuration" > "Feature Flags" to the corresponding values in your application.
  • 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

28 Apr 19:20
Compare
Choose a tag to compare

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
    
    BRZConfiguration *config = [[BRZConfiguration alloc] init];
    Braze *braze = [AppboyUnityManager initBraze:config];
    
  • Requires Unity version 2020.3.42 or newer.
  • The following changes have been made to AppboyUnityManager.h:
    • Renames addInAppMessageListenerWithObjectNameAndSetDelegate:callbackMethodName: to addInAppMessageListenerWithObjectName:callbackMethodName:.
    • Renames ABKUnityMessageType to BRZUnityMessageType.
    • Removes parsePlist since it is implemented as a part of initBraze:.
  • Removes setFacebookData and setTwitterData from AppboyBinding.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

20 Oct 19:20
Compare
Choose a tag to compare

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 your AndroidManifest.xml file.
    • Removed binding.FlushAndroidPendingPushIntents().

3.10.0

22 Sep 20:12
Compare
Choose a tag to compare

3.10.0

Fixed
  • Removed AppboyBinding.LogContentCardsDisplayed().

3.9.0

31 Aug 21:54
Compare
Choose a tag to compare

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 or false result in the push prompt being shown, on Android. The parameter is unused.
Fixed
  • Fixed an issue where AppboyBinding.logPurchase() calls could fail on Android based on the device locale.

3.8.1

12 Jul 17:30
Compare
Choose a tag to compare

3.8.1

Added

3.8.0

22 Jun 21:28
Compare
Choose a tag to compare

3.8.0

Breaking
  • Removed AppboyBinding.SetUserAvatarImageURL() from the binding.
  • Utilities/MiniJson.cs now uses InvariantCulture 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.
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, and AppboyBinding.IOSSdkAuthenticationFailureCallbackMethodName for iOS.
      • AppboyBinding.AndroidSdkAuthenticationEnabled, AppboyBinding.AndroidSdkAuthenticationFailureGameObjectName, and AppboyBinding.AndroidSdkAuthenticationFailureCallbackMethodName for Android.
Changed
  • Updated the iOS plugin to use Braze iOS SDK 4.4.3.

3.7.1

14 Jan 17:54
Compare
Choose a tag to compare

3.7.1

Changed
  • Updated the Android plugin to use Braze Android SDK 18.0.1.

3.7.0

12 Jan 21:03
Compare
Choose a tag to compare

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 via implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
Fixed
  • Fixed an issue where AppboyUnityPlayerActivity could not be extended on Android.

3.6.0

01 Nov 21:13
Compare
Choose a tag to compare

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 via implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.21"
    • This SDK version has removed a dependency on the appcompat library.
Added
  • Added AppboyBinding.AddToSubscriptionGroup() and AppboyBinding.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. See BrazeInAppMessageListener for more information.
Changed
  • Updated the native iOS bridge to Braze iOS SDK 4.3.3.
  • Removed the iOS specific method DisplayNextInAppMessage(bool withDelegate).