AgentWeb
AgentWeb copied to clipboard
AgentWeb is a powerful library based on Android WebView.
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
java.lang.RuntimeException:Failure delivering result ResultInfo{who=null, request=23030397, result=-1, data=null} to activity {com.fc.covid19/com.fc.covid19.ui.survey.SceneFormActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri com.just.agentweb.Action.getUri()' on a null object reference
Caused by: java.lang.IllegalStateException: showFileChooser result was already called at ls0.onReceiveValue(chromium-TrichromeWebViewGoogle.apk-stable-443021033:8) at com.just.agentweb.filechooser.FileChooser.cancel(FileChooser.java:480) at com.just.agentweb.filechooser.FileChooser.onIntentResult(FileChooser.java:422) at com.just.agentweb.filechooser.FileChooser$2.onChoiceResult(FileChooser.java:244) at com.just.agentweb.AgentActionFragment.chooserActionCallback(AgentActionFragment.java:136) at com.just.agentweb.AgentActionFragment.onActivityResult(AgentActionFragment.java:147) at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:2905) at androidx.fragment.app.FragmentManager$9.onActivityResult(FragmentManager.java:2885) at androidx.activity.result.ActivityResultRegistry.doDispatch(ActivityResultRegistry.java:392) at androidx.activity.result.ActivityResultRegistry.dispatchResult(ActivityResultRegistry.java:351) at androidx.activity.ComponentActivity.onActivityResult(ComponentActivity.java:647)...
java.lang.RuntimeException:Unable to resume activity {com.dlnacast/com.dlnacast.activity.WebActivityPlus}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=1103757313, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.dlnacast/com.dlnacast.activity.WebActivityPlus}: java.lang.NullPointerException: NullPointerException in DoInvoke because of null receiver 2...
B站 点击页面跳转时,onPageStarted不触发
国际化的问题
请问app做国际化适配时,进入AgentWeb后会自动切换成默认语言,也就是设置的地区语言会失效 要怎么解决呢?
A 一个 webview 再打开一个 B页面的 webview ,A 里面的不能 暂停 销毁 否则 B 页面的无法正常使用,本质还是底部共享 webview
implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.0.0-alpha.1-androidx' 通过该方式引用后, 引用的库还是有support
为什么加了mAgentWeb.getJsInterfaceHolder().addJavaObject 页面显示空白,无法正常显示