From 69af355d67d476aa8d9b7075758e3a5771e1b6e9 Mon Sep 17 00:00:00 2001 From: Yassine Diouri Date: Mon, 29 Jun 2020 18:26:02 +0200 Subject: [PATCH] Fixed missing call to CallGenericBridge --- .../HuaweiMobileServices/Game/AchievementClientWrapper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs b/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs index 53ab3a3a..8f412fcd 100644 --- a/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs +++ b/hms-sdk-unity/HuaweiMobileServices/Game/AchievementClientWrapper.cs @@ -17,7 +17,8 @@ internal class AchievementClientWrapper : JavaObjectWrapper, IAchievementsClient public AchievementClientWrapper(AndroidJavaObject javaObject) : base(javaObject) { } - public void ShowAchievementList(Action onSuccess, Action onFailure) => new GenericBridgeWrapper(base.JavaObject).CallGenericBridge(onSuccess, onFailure, "getShowAchievementListIntent"); + public void ShowAchievementList(Action onSuccess, Action onFailure) => + this.CallGenericBridge("getShowAchievementListIntent", onSuccess, onFailure); public Task ShowAchievementListAsync() {