Can't find Cordova.plist in my Xcode project

I am trying to add a domain url to my whitelist. The instructions say that I should find the Cordova.plist file in AppName/Supporting Files/Cordova.plist , but I also do not have a directory called Supporting Files.

I have only myapp-Info.plist and I don’t see where to add items to the white list.

I am using Cordova 2.7.0. Does anyone know what I should do?

+4
source share
1 answer

In Cordova 2.7.0 you cannot find Cordova.plist , it was removed from the previous version, instead you can see config.xml , you can set the whitelisted domain URL in config.xml, as shown:

 <access origin="*" /> // for all url 

or

 <access origin="your url" /> 
+5
source

Source: https://habr.com/ru/post/1494196/


All Articles