diff --git a/Assets/Plugins/Appboy/AppboyBinding.cs b/Assets/Plugins/Appboy/AppboyBinding.cs index d02a821c2..34c297d62 100755 --- a/Assets/Plugins/Appboy/AppboyBinding.cs +++ b/Assets/Plugins/Appboy/AppboyBinding.cs @@ -708,14 +708,12 @@ public static void LogInAppMessageButtonClicked(string inAppMessageJSONString, i [System.Obsolete("LogSlideupClicked is deprecated, please use LogInAppMessageClicked instead.")] public static void LogSlideupClicked(string slideupJSONString) { - var inAppMessage = InAppMessageUtils.CallStatic("inAppMessageFromString", appboyUnityActivity, slideupJSONString); - InAppMessageUtils.CallStatic("logInAppMessageClick", inAppMessage); + AppboyUnityActivity.Call("logInAppMessageClick", new object[] { slideupJSONString }); } [System.Obsolete("LogSlideupImpression is deprecated, please use LogInAppMessageImpression instead.")] public static void LogSlideupImpression(string slideupJSONString) { - var inAppMessage = InAppMessageUtils.CallStatic("inAppMessageFromString", appboyUnityActivity, slideupJSONString); - InAppMessageUtils.CallStatic("logInAppMessageImpression", inAppMessage); + AppboyUnityActivity.Call("logInAppMessageImpression", new object[] { slideupJSONString }); } public static void LogFeedDisplayed() {