我因在Google堆栈溢出中进行谷歌搜索和搜索而感到非常疲倦,但没有一个解决方案对我有用。
我开发了一个静态应用。现在在android系统中执行时,现在在android模拟器中运行,并且不会从外部URL加载真实的设备映像。
在这方面的任何帮助将不胜感激。
注意:我已经安装了白名单插件我的html文件中已经在meta标签下面有此]
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'; media-src *; img-src * filesystem: data:">
我添加了:
<access origin="*" /> <allow-navigation href="*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" />
在我的res / xml / config.xml中]
让我知道我想念的其他任何东西,以便显示http://website/image.png中的图像
谢谢,Ahsan Ali
我对Google遍历和在stackoverflow中进行搜索感到非常厌倦,但是没有一个解决方案对我有用。我有一个静态应用程序开发。现在在android中执行时,现在在android模拟器中执行...
确定问题已解决。
为了加载外部网址,您必须输入https://协议。现在从api级别28开始,您必须将https://用作图像