Skip to content

Releases: braze-inc/braze-unity-sdk

3.5.1

03 Sep 19:48
Compare
Choose a tag to compare
Fixed
  • Fixed an issue where simulator architectures were included in the iOS framework.

3.5.0

17 Aug 18:56
Compare
Choose a tag to compare
Breaking
  • Updated the Android plugin to use Braze Android SDK 15.0.0.
Changed

3.4.0

23 Jun 18:10
Compare
Choose a tag to compare

3.4.0

Added
  • Added the ability to change the display flow of In-App Messages directly from Unity code via AppboyBinding.SetInAppMessageDisplayAction().
    • See the BrazeUnityInAppMessageDisplayActionType enum.
  • Added the ability to open the default Content Cards UI via DisplayContentCards() on the binding.
    • For Android, this requires the following dependencies:
      implementation "androidx.swiperefreshlayout:swiperefreshlayout:+"
      implementation "androidx.recyclerview:recyclerview:+"
      

3.3.0

14 May 16:28
Compare
Choose a tag to compare

3.3.0

Breaking
  • Updated the Android plugin to use Braze Android SDK 14.0.0.
Added
  • Added the ability to delay sending Android push notification data to the Unity layer until the native libraries have finished loading and any AppboyBinding method has been called.
    • Configured under "Braze Configuration -> Automate Unity Android Integration -> Push Configuration -> Delay Sending Push Notification Intents".
    • Pending Android push notification intents are flushed automatically after the first call to any method on the Android binding is made.
    • To optionally have finer control over when these push notification intents are flushed, call the following from Unity:
    #if UNITY_ANDROID
      BrazeAndroidPlatform binding = (BrazeAndroidPlatform) Appboy.AppboyBinding.mBinding;
      binding.FlushAndroidPendingPushIntents();
    #endif
    

3.2.0

30 Apr 17:28
Compare
Choose a tag to compare

3.2.0

Breaking
  • Updated the Android plugin to use Braze Android SDK 14.0.0.1.
Fixed
  • Fixed an issue introduced in 3.1.0 on Android where push opens could fail to launch the application on certain devices.
  • Fixed an issue introduced in 3.0.0 in the iOS binding where enableSDK() and disableSDK() had swapped behaviors.

3.1.0

17 Apr 02:12
Compare
Choose a tag to compare
Changed

3.0.0

26 Mar 18:37
Compare
Choose a tag to compare

3.0.0

Important
  • This release contains several minor changes to our iOS push code. Most integrations will be unaffected, however, we recommend additional testing.
Breaking
  • Updated the Android plugin to use Braze Android SDK 13.0.0.
  • If automatic iOS push integration is enabled, Braze will now automatically add the Xcode Push Capability in OnPostprocessBuild().
    • To disable this, check "Disable Automatic Push Capability" in the Braze configuration editor.
  • In AppboyUnityManager.mm:
    • registerForRemoteNotifications: has been replaced with registerForRemoteNotificationsWithProvisional:(BOOL)provisional. If using this method, note that the new method calls Apple's APIs directly and does not respect Braze configuration's settings for automatic push integration and registration.
    • registerApplication:didReceiveRemoteNotification:fetchCompletionHandler: and registerPushToken have also been updated to no longer internally read Braze config.
    • Several obsolete methods were removed, including methods where the manager trivially wrapped the native Appboy instance.
    • Most integrations will not be affected by these changes.
Added
  • Added the option to disable iOS provisional push authorization when automatic iOS push integration is enabled.
    • To use, check "Disable Provisional Authorization" in the Braze configuration editor.
    • When provisional push authorization is disabled, users will see the native push prompt dialog at app startup.
  • Added AppboyBinding.ConfigureListener() as an alternative method for configuring GameObject listeners for push, in-app messages, Content Cards, and News Feed. Use the new BrazeUnityMessageType enum to specify the desired message type.
    • On iOS, to receive push opened and received callbacks, Integrate Push With Braze must be enabled.
  • Added AppboyBinding.PromptUserForPushPermissions(bool provisional) to request authorization and register for push notifications on iOS.
    • Set provisional to true to request provisional authorization, or false to show the push prompt directly.
    • If you would like to read the user response, pass an instance of PushPromptResponseReceived into the method.
    • We recommend using this method with the following settings:
      • Integrate Push With Braze enabled.
      • Disable Automatic Push Registration enabled.
  • Added AppboyBinding.SetPushTokenReceivedFromSystemDelegate() to receive push tokens Braze receives from the OS (iOS only).
Fixed
  • Braze push delegates are no longer called automatically in fully manual integrations.
    • Automatic push integration must be enabled for Braze push delegates to function.

2.8.0

02 Feb 19:06
Compare
Choose a tag to compare
Breaking
Added
  • Added AppboyBinding.AddAlias() to the binding.

2.7.1

03 Dec 19:02
Compare
Choose a tag to compare
Fixed
  • Fixed an issue where the return type for the Android implementation of setIsDismissed in AppboyBinding was incorrectly set to bool.
  • Removed a deprecated usage of PBXProject.GetUnityTargetName().

2.7.0

29 Oct 16:32
Compare
Choose a tag to compare

2.7.0

Breaking
Fixed
  • Fixed a metadata issue for Android artifacts.