小编Blo*_*ark的帖子

Cordova InAppBrowser无法正常工作

嗨我第一次使用cordova.我想创建一个应用程序来显示我的网站.

这是我的cordova命令来创建应用程序:

cordova create myapp
cd myapp
cordova platform add android --save
cordova plugin add cordova-plugin-inappbrowser --save
Run Code Online (Sandbox Code Playgroud)

和index.html:

<html>
    <head>
        <!--
        Customize this policy to fit your own app's needs. For more guidance, see:
            https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
        Some notes:
            * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
            * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
            * Disables use of inline scripts in order to mitigate risk of …
Run Code Online (Sandbox Code Playgroud)

android phonegap-plugins cordova

1
推荐指数
1
解决办法
5866
查看次数

标签 统计

android ×1

cordova ×1

phonegap-plugins ×1