diff --git a/Assets/Plugins/Android/libs/appboy-ui.aar b/Assets/Plugins/Android/libs/appboy-ui.aar index 23c408af3..05cd346d9 100644 Binary files a/Assets/Plugins/Android/libs/appboy-ui.aar and b/Assets/Plugins/Android/libs/appboy-ui.aar differ diff --git a/Assets/Plugins/Android/libs/appboy-unity.aar b/Assets/Plugins/Android/libs/appboy-unity.aar index 53e1290c9..de6f095fc 100644 Binary files a/Assets/Plugins/Android/libs/appboy-unity.aar and b/Assets/Plugins/Android/libs/appboy-unity.aar differ diff --git a/Assets/Plugins/Android/libs/appboy.aar b/Assets/Plugins/Android/libs/appboy.aar index f5438f042..4b158cd94 100644 Binary files a/Assets/Plugins/Android/libs/appboy.aar and b/Assets/Plugins/Android/libs/appboy.aar differ diff --git a/Assets/Plugins/Appboy/AppboyBinding.cs b/Assets/Plugins/Appboy/AppboyBinding.cs index 64acc7fb0..e39e94b59 100755 --- a/Assets/Plugins/Appboy/AppboyBinding.cs +++ b/Assets/Plugins/Appboy/AppboyBinding.cs @@ -350,7 +350,6 @@ public static void SetAttributionData(string network, string campaign, string ad #elif UNITY_ANDROID private static AndroidJavaObject appboyUnityActivity; - private static AndroidJavaObject appboy; private static AndroidJavaObject inAppMessageUtils; void Start() { @@ -371,12 +370,9 @@ public static AndroidJavaObject AppboyUnityActivity { public static AndroidJavaObject Appboy { get { - if (appboy == null) { - using (var appboyClass = new AndroidJavaClass("com.appboy.Appboy")) { - appboy = appboyClass.CallStatic("getInstance", AppboyUnityActivity); - } + using (var appboyClass = new AndroidJavaClass("com.appboy.Appboy")) { + return appboyClass.CallStatic("getInstance", AppboyUnityActivity); } - return appboy; } } diff --git a/Assets/Plugins/Appboy/models/Cards/Card.cs b/Assets/Plugins/Appboy/models/Cards/Card.cs index 6b3dfa6ee..3c273e58e 100755 --- a/Assets/Plugins/Appboy/models/Cards/Card.cs +++ b/Assets/Plugins/Appboy/models/Cards/Card.cs @@ -57,12 +57,12 @@ public Card(JSONClass json) { } } } - + } public override string ToString() { return String.Format("{0}: ID={1}, Type={2}, Viewed={3}, Created={4}, Extras={5}, Updated={6}" + - "Categories={7}", + "Categories={7}", this.GetType().Name, ID, Type, Viewed, Created, CollectionUtils.DictionaryToString(Extras), Updated, CategoriesToString()); } @@ -96,4 +96,3 @@ public void LogClick() { } } } - diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f6445cf..6bcd8aaeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## 1.16.0 + +##### Breaking +- Updated the iOS plugin to use [Braze iOS SDK 3.11.0](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.11.0). +- Updated the Android plugin to use [Braze Android SDK 3.1.0](https://github.com/Appboy/appboy-android-sdk/blob/master/CHANGELOG.md#310). + +##### Fixed +- Fixed an issue where the binding would cache the Appboy singleton instance. +- Fixed `Card.cs` to always return `CardCategory.NO_CATEGORY` in all cases where no valid categories are found. + - See https://github.com/Appboy/appboy-unity-sdk/pull/43. Thanks @Sencerd! + +##### Changed +- Updated the Appboy configuration editor to use Braze branding. +- By default, native in-app messages on Android no longer show the status bar. + ## 1.15.0 ##### Breaking @@ -10,8 +25,8 @@ ## 1.14.0 ##### Breaking -- Updates the iOS plugin to use Braze iOS SDK 3.7.1. - - Updates the iOS plugin to use the Braze iOS SDK framework instead of local files. +- Updated the iOS plugin to use Braze iOS SDK 3.7.1. + - Updated the iOS plugin to use the Braze iOS SDK framework instead of local files. - As a result, imports using local file syntax (e.g. `"AppboyKit.h"`) must change to framework (e.g.``) syntax. - Updates the Android plugin to use Braze Android SDK 2.6.0. - Removes Android Support Library artifacts from the Braze Unity Plugin. This is to avoid duplicating the Android Support Library artifacts that are automatically included as part of the Firebase Unity SDK, our recommended push integration. Integrators not using Firebase or importing Android Support Library artifacts through another SDK must include the Android Support Library manually (v4 only).