科尔多瓦(Cordova)应用程序出现谷歌地图问题,并导航到ios中的链接

时间:2018-11-28 06:19:15

标签: google-maps cordova inappbrowser

我在cordova 7项目中添加了它,该项目解决了iOS上的Google Map问题(该应用未显示地图,但在config.xml中添加了地图之后,它显示了地图)。现在我收到了新一期。如果我单击链接(标记),则该应用程序将打开URL,但不显示按钮/选项以返回到该应用程序。它停留在html页面上(它在设备的左上角显示一个小按钮以返回,但不再显示该按钮)。如果我删除,则链接功能开始工作,但会破坏Google地图。我试图同时列出所有与Google地图相关的网址,但仍然无法正常工作。任何建议都会有所帮助。这是尝试的

该地图可以使用以下配置设置,但如果我导航到该网址,则不会显示返回到应用程序的按钮

    <platform name="ios"> 
            <access origin="*" /> 
            <allow-intent href="http://*/*" /> 
            <allow-intent href="https://*/*" /> 
            <allow-navigation href="*" />
    </platform>

以下设置可正确用于链接,但不会显示google map(它仅显示一个空白的div)

    <platform name="ios"> 
            <access origin="*" /> 
            <allow-intent href="http://*/*" />
            <allow-intent href="https://*/*" /> 
    </platform>

我不想添加任何其他插件。您能帮我设置吗

0 个答案:

没有答案