AgentWeb icon indicating copy to clipboard operation
AgentWeb copied to clipboard

AgentWeb is a powerful library based on Android WebView.

Results 106 AgentWeb issues
Sort by recently updated
recently updated
newest added

先在有网络情况下加载url,再断开网络,重新进入页面,走了onReceivedError方法,没有出现出错提示重新加载,页面空白 “https://dp-all.ipsmap.com/#/temC?robotId=xssqpbtieq”

卡在位置在百分之80的样子,每次都是

### Android 10 ### HUAWEI ### AgentWeb 4.1.3  Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.webkit.WebSettings.getForceDark()' on a null object reference at android.webkit.WebView.updateHwForceDark(WebView.java:2643) at android.webkit.WebView.onAttachedToWindow(WebView.java:2625) at android.view.View.dispatchAttachedToWindow(View.java:19759) at...

有两个回答说:mAgentWeb.getLoader().loadData(); 现在getLoader()找不到了

在CommonBuilder 中加入用户自定义的 IVideo的实现类,对于设置全屏非全屏让开发者进行决定 issue:现在VideoImp 中onHideCustomView中在推出全屏的时候,强制应用设置为竖屏,对于一些仅支持LandScape的应用不太友好

mAgentWeb = AgentWeb.with(activity) .setAgentWebParent(rootview, new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)) .closeIndicator() .setAgentWebWebSettings(getSettings()) .setOpenOtherPageWays(DefaultWebClient.OpenOtherPageWays.DERECT) .createAgentWeb() .ready() .go("file:///android_asset/social/h5/home.html"); public IAgentWebSettings getSettings() { return new AbsAgentWebSettings() { private AgentWeb mAgentWeb; @Override protected void bindAgentWebSupport(AgentWeb agentWeb) {...

RT,目前发下在miui11上存在该问题,其他设备情况未知。NestedScrollAgentWebView 类建议采用以下代码,实测可以解决该问题,且没有引发新问题。 public class NestedScrollAgentWebView extends AgentWebView implements NestedScrollingChild { /*** * 方法一 * https://github.com/fashare2015/NestedScrollWebView */ public NestedScrollAgentWebView(Context context) { super(context); initView(); } private static final int INVALID_POINTER = -1;...

E/ConnectivityManager: java.lang.Throwable at android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:2931) at android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:3177) at org.chromium.android_webview.AwNetworkChangeNotifierRegistrationPolicy.onFirstWebViewCreated(AwNetworkChangeNotifierRegistrationPolicy.java:31) at org.chromium.android_webview.AwContentsLifecycleNotifier.onWebViewCreated(AwContentsLifecycleNotifier.java:7) at org.chromium.android_webview.AwContents.nativeInit(Native Method) at org.chromium.android_webview.AwContents.(AwContents.java:80) at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:12) at com.android.webview.chromium.WebViewChromiumFactoryProvider$WebViewChromiumRunQueue.drainQueue(WebViewChromiumFactoryProvider.java:14) at com.android.webview.chromium.WebViewChromiumFactoryProvider$WebViewChromiumRunQueue$1.run(WebViewChromiumFactoryProvider.java:2) at org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:30) at com.android.webview.chromium.WebViewChromiumFactoryProvider$WebViewChromiumRunQueue.addTask(WebViewChromiumFactoryProvider.java:8) at com.android.webview.chromium.WebViewChromiumFactoryProvider.addTask(WebViewChromiumFactoryProvider.java:16) at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:65) at...