我试图在“project_root”/www/config.xml 的末尾添加以下行(从先前安装的插件之一的 plugin.xml 中获取):
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
</config-file>
</platform>
但正如预期的那样,这不起作用。我需要它让 InAppBrowser 插件加载在线页面(我不想编辑它的 plugin.xml,因为插件可以更新或重新安装 -> 更改将被擦除)。