From cb41732c41e92b52b6faffe55b0ba5acff796819 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 4 Dec 2020 09:11:37 +0800 Subject: [PATCH] =?UTF-8?q?android=E5=88=9D=E5=A7=8B=E5=8C=96=E5=BE=AE?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/finogeeks/mop/api/mop/BaseModule.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java index c6cc8c0..afb73b9 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/BaseModule.java @@ -5,6 +5,7 @@ import android.content.Context; import android.util.Log; import android.widget.Toast; +import com.finogeeks.lib.applet.BuildConfig; import com.finogeeks.lib.applet.client.FinAppClient; import com.finogeeks.lib.applet.client.FinAppConfig; import com.finogeeks.lib.applet.interfaces.FinCallback; @@ -63,12 +64,12 @@ public class BaseModule extends BaseApi { disablePermission = false; } FinAppConfig config = new FinAppConfig.Builder() - .setAppKey(appkey) - .setAppSecret(secret) + .setSdkKey(appkey) + .setSdkSecret(secret) .setApiUrl(apiServer) .setApiPrefix(apiPrefix) - .setGlideWithJWT(false) .setEncryptionType(cryptType) + .setDebugMode(BuildConfig.DEBUG) .setDisableRequestPermissions(disablePermission) .build(); @@ -95,7 +96,5 @@ public class BaseModule extends BaseApi { } }; FinAppClient.INSTANCE.init(application, config, cb); - - } -} +} \ No newline at end of file