fix:AppletHandlerModule;

master
yangbingqiao 2022-09-23 21:47:42 +08:00
parent 0278f436fd
commit db2b3b6700
1 changed files with 13 additions and 0 deletions

View File

@ -10,6 +10,8 @@ import android.os.Looper;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log; import android.util.Log;
import androidx.annotation.NonNull;
import com.finogeeks.lib.applet.client.FinAppClient; import com.finogeeks.lib.applet.client.FinAppClient;
import com.finogeeks.lib.applet.client.FinAppTrace; import com.finogeeks.lib.applet.client.FinAppTrace;
import com.finogeeks.lib.applet.interfaces.FinCallback; import com.finogeeks.lib.applet.interfaces.FinCallback;
@ -66,6 +68,17 @@ public class AppletHandlerModule extends BaseApi {
MethodChannel channel = MopPluginService.getInstance().getMethodChannel(); MethodChannel channel = MopPluginService.getInstance().getMethodChannel();
FinAppClient.INSTANCE.getAppletApiManager().setAppletHandler(mIAppletHandler = new IAppletHandler() { FinAppClient.INSTANCE.getAppletApiManager().setAppletHandler(mIAppletHandler = new IAppletHandler() {
@Nullable
@Override
public Map<String, String> getWebViewCookie(@NonNull String s) {
return null;
}
@Override
public void getJSSDKConfig(@NonNull JSONObject jsonObject, @NonNull IAppletCallback iAppletCallback) {
}
@Nullable @Nullable
@Override @Override
public List<GrayAppletVersionConfig> getGrayAppletVersionConfigs(@NotNull String s) { public List<GrayAppletVersionConfig> getGrayAppletVersionConfigs(@NotNull String s) {