From 82e07f5e4c073c64a6579da061a135e35d0b3601 Mon Sep 17 00:00:00 2001 From: Yurii Dukhovnyi Date: Wed, 18 Dec 2024 19:18:20 +0000 Subject: [PATCH] Fix incorrect param name for Android plugin --- android/src/main/java/com/glia/widgets/ionic/GliaSdk.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java b/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java index 137c441..1fb4e94 100644 --- a/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java +++ b/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java @@ -165,10 +165,10 @@ public void showVisitorCodeViewController(PluginCall call, Activity activity) { Authentication authentication; public void authenticate(PluginCall call) { String authRawBehaviorValue = call.getString("behavior"); - String jwtToken = call.getString("jwtToken"); + String jwtToken = call.getString("idToken"); if (jwtToken == null) { - call.reject("'jwtToken' is missing"); + call.reject("'idToken' is missing"); return; } if (authRawBehaviorValue == null) {