Error: Whitelist rejection in Phonegap

前端 未结 7 2234
太阳男子
太阳男子 2020-12-01 17:27

I\'m new to mobile development. I\'m using Phonegap/Cordova to create a cross-platform app. My code works well on Android but when I\'m porting it to iPhone it\'s showing an

7条回答
  •  一个人的身影
    2020-12-01 18:22

    This is because phonegap won't take external urls .For phonegap older versions below 2.x we need to set url in cordova.plist like this.

    ex:*.google.co.in(u can put your url after *. this) and OpenAllWhitelistURLsInWebView---to ---YES.

提交回复
热议问题