cordova-plugin-x5engine-webview icon indicating copy to clipboard operation
cordova-plugin-x5engine-webview copied to clipboard

首次启动没有加载x5内核的问题

Open lyloou opened this issue 8 years ago • 0 comments

感谢分享;

还有一个问题,是首次启动没有加载x5内核的问题;

我的解决办法是在Application的onCreate方法中添加: QbSdk.initX5Environment(this, QbSdk.WebviewInitType.FIRSTUSE_AND_PRELOAD, null); 这样就能在第一次启动的时候就加载了。

参考资料:

lyloou avatar Oct 27 '16 07:10 lyloou