Releases: braze-inc/braze-unity-sdk
Releases · braze-inc/braze-unity-sdk
3.5.1
3.5.0
Breaking
- Updated the Android plugin to use Braze Android SDK 15.0.0.
Changed
- Updated the native iOS bridge to Braze iOS SDK 4.3.2.
3.4.0
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.
- See the
- 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:+"
- For Android, this requires the following dependencies:
3.3.0
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
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()
anddisableSDK()
had swapped behaviors.
3.1.0
Changed
- Updated the Android plugin to use Braze Android SDK 13.1.2.
3.0.0
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 withregisterForRemoteNotificationsWithProvisional:(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:
andregisterPushToken
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 newBrazeUnityMessageType
enum to specify the desired message type.- On iOS, to receive push opened and received callbacks,
Integrate Push With Braze
must be enabled.
- On iOS, to receive push opened and received callbacks,
- Added
AppboyBinding.PromptUserForPushPermissions(bool provisional)
to request authorization and register for push notifications on iOS.- Set
provisional
totrue
to request provisional authorization, orfalse
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.
- Set
- 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
Breaking
- Updated the Android plugin to use Braze Android SDK 12.0.0.
- Updated the native iOS bridge to Braze iOS SDK 3.31.2.
Added
- Added
AppboyBinding.AddAlias()
to the binding.
2.7.1
2.7.0
2.7.0
Breaking
- Updated the native iOS bridge to Braze iOS SDK 3.29.1.
- Updated the Android plugin to use Braze Android SDK 11.0.0.
Fixed
- Fixed a metadata issue for Android artifacts.