From b5cd87c74099c537fe04aa2207b588ce8a738f2b Mon Sep 17 00:00:00 2001 From: Andrii Halunets Date: Tue, 21 Sep 2021 17:30:28 +0300 Subject: [PATCH] Fix forgotPassword crash on Android --- .../main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt b/android/src/main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt index b6f0af7a..5eaecc4d 100644 --- a/android/src/main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt +++ b/android/src/main/kotlin/com/sap/gigya_flutter_plugin/GigyaSDKWrapper.kt @@ -237,7 +237,7 @@ class GigyaSDKWrapper(application: Application, accountObj: Cl } sdk.forgotPassword(loginId, object : GigyaCallback() { override fun onSuccess(p0: GigyaApiResponse?) { - channelResult.success(p0) + channelResult.success(p0?.asMap()) } override fun onError(p0: GigyaError?) {