<access>

access

Defines the set of external domains the app is allowed to communicate with. The default value shown above allows it to access any server. See the Domain Whitelist Guide for details.

Attributes(type)
Only for platform:
Description
origin(string) Required
Defines the set of external domains the app is allowed to communicate with.

The default value shown above allows it to access any server. See the Domain Whitelist Guide for details.

Examples:

<widget ...>
   <access origin="*"></access>
</widget>

<widget ...>
   <access origin="http://google.com"></access>
</widget>
doc_cordova
2017-01-31 03:39:47
Comments
Leave a Comment

Please login to continue.