diff --git a/android/.settings/org.eclipse.buildship.core.prefs b/android/.settings/org.eclipse.buildship.core.prefs index c7199bd..41f5edb 100644 --- a/android/.settings/org.eclipse.buildship.core.prefs +++ b/android/.settings/org.eclipse.buildship.core.prefs @@ -2,7 +2,7 @@ arguments=--init-script /var/folders/tv/dbm7kt650fvdxrtf0k7xgxcm0000gn/T/d146c97 auto.sync=false build.scans.enabled=false connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.4.2)) -connection.project.dir=../../finosprite/android +connection.project.dir= eclipse.preferences.version=1 gradle.user.home= java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home diff --git a/android/src/main/java/com/finogeeks/mop/api/mop/InitSDKModule.java b/android/src/main/java/com/finogeeks/mop/api/mop/InitSDKModule.java index 1f08bb3..1a644b3 100644 --- a/android/src/main/java/com/finogeeks/mop/api/mop/InitSDKModule.java +++ b/android/src/main/java/com/finogeeks/mop/api/mop/InitSDKModule.java @@ -200,9 +200,6 @@ public class InitSDKModule extends BaseApi { configBuilder.setLocale(Locale.SIMPLIFIED_CHINESE); } - // getUserProfile的内置实现 - configBuilder.setGetUserProfileHandlerClass(MyUserProfileHandler.class.getName()); - // uiConfig FinAppConfig.UIConfig uiConfig = InitUtils.createUIConfigFromMap(uiConfigMap); if (uiConfig != null) { diff --git a/android/src/main/java/com/finogeeks/mop/impls/MyUserProfileHandler.java b/android/src/main/java/com/finogeeks/mop/impls/MyUserProfileHandler.java index defe8b3..df9b560 100644 --- a/android/src/main/java/com/finogeeks/mop/impls/MyUserProfileHandler.java +++ b/android/src/main/java/com/finogeeks/mop/impls/MyUserProfileHandler.java @@ -25,7 +25,6 @@ public class MyUserProfileHandler implements IUserProfileHandler { public void getUserProfileWithAppletInfo(@NotNull Context context, @NotNull FinAppInfo finAppInfo, @NotNull UserProfileCallback callback) { MethodChannel channel = MopPluginService.getInstance().getMethodChannel(); Log.d(TAG, "getUserProfileWithAppletInfo:"); - Log.d(TAG, "channel:" + (channel != null ? "存在" : "不存在")); new Handler(Looper.getMainLooper()).post(() -> { channel.invokeMethod("extensionApi:getUserProfile", null, new MethodChannel.Result() { @Override