How to forward several domain phone calls (cordova)

How can I list several domains? I know how to use the whitelist with all subdomains, but what if I need more than one? Add access items?

+5
source share
2 answers

Cordova docs are related to the Widget Access specification, which states:

Zero or more access elements can be added to the configuration file. When multiple authorization elements are used by the author, the set of allowed network connections is the union of all access requests submitted by the user agent.

In other words, just include a few elements:

<access origin="http://example.net"/> <access origin="http://another_example.net"/> 
+7
source

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


All Articles