flutter_webview_plugin ?????????????????????????????????
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了flutter_webview_plugin ?????????????????????????????????相关的知识,希望对你有一定的参考价值。
?????????XML ?????? info ?????? control work one ???????????? ??????
Flutter ??????????????????webview,?????????????????????webview ??????????????????flutter_webview_plugin?????????????????????????????????webview?????????
flutter_webview_plugin ?????????????????????ios??????????????????HTTP?????????????????? ??????Flutter ???????????????HTTP?????????????????????????????????????????????Flutter????????????UIKit????????????
?????????????????????iOS ???info.plist????????????HTTP????????????
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
??????
????????? 9.0?????????????????????????????????????????????????????? 9.0?????????????????????HTTP???????????????????????????
???????????????????????????androidManifest.xml???application??????????????????networkSecurityConfig????????????:
<?xml version="1.0" encoding="utf-8"?> <manifest ... > <application android:networkSecurityConfig="@xml/network_security_config"> <!-- ... --> </application> </manifest>
??????
??????????????????????????????res/xml????????????network_security_config.xml?????????
<?xml version="1.0" encoding="utf-8"?> <network-security-config> <base-config cleartextTrafficPermitted="true"> <trust-anchors> <certificates src="system" /> </trust-anchors> </base-config> </network-security-config>
??????
以上是关于flutter_webview_plugin ?????????????????????????????????的主要内容,如果未能解决你的问题,请参考以下文章
flutter_webview_plugin 包的 clearCache 不起作用
flutter_webview_plugin 与dart页面跳转使用
flutter_webview_plugin 加载全屏页面的简单使用
颤振flutter_webview_plugin错误[NSNull长度]:无法识别的选择器发送到ios上的实例