Internal navigation rejected: in Cordova on iOS

后端 未结 5 1262
滥情空心
滥情空心 2020-12-29 18:43

I have built an iOS app using Cordova. The app tries to load a web page e.g. http://yourdomain.com/home in index.html. But, the page stays white blank with error in console

5条回答
  •  [愿得一人]
    2020-12-29 19:09

    I was having this problem and it turns out there are two config.xml files. The first one is in Xcode, but you have to edit the second one from the filesystem.

    AppName/config.xml
    
    AppName/platforms/ios/AppName/config.xml
    

    I added

     
    

    to both of them and it worked. Using 6.3.0.

提交回复
热议问题