iOS / Cordova: InAppBrowser not working

前端 未结 3 1944
逝去的感伤
逝去的感伤 2021-02-06 17:19

I\'m building an app for Android and iOS using Cordva (v3.3.0) and JQuery Mobile. Now I\'m trying to use the InAppBrowser plugin. On Android this works fine but on iOS the webpa

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-06 17:58

    For me the issue was with Visual Studio Cordova tools. I updated Cordova CLI to 5.1.1 however in visual studio config.xml > Platform section I still had 4.3.3. So when I used the latest inappbrowser with the new name cordova-plugin-inappbrowser is was causing it not to work.

    So if you're using Visual Studio make sure the version in config.xml is the same as the command line. (use cordova -version to get the correct version)

提交回复
热议问题