Error: Whitelist rejection in Phonegap

前端 未结 7 2221
太阳男子
太阳男子 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:09

    You can add this following code in Cordova.plist file:

    ExternalHosts
           
                   *.facebook.com
           
    

    With *.facebook.com as the domain name, you can use two different sub-domains.

提交回复
热议问题