set Domains
Use this function to register domains which your app interact with. The SDK (when the `PXPolicy/urlRequestInterceptionType`
is set to any value rather than `PXPolicyUrlRequestInterceptionType/none`
) is intercepting URL requests to those domains only. If you do not set domain, the SDK will intercept all URL requests. In addition, the SDK (when `PXPolicy/hybridAppSupportEnabled`
is set to true
) is setting cookies in your web views in order to sync between the native and the web sessions. However, the SDK will set cookies only for domains that are set in this property. Therefore, you must set your domains to enable hybrid app support. Example: for the website www.google.com
you should set the domain: google.com
.
Parameters
: List if your domains.
: The AppID of your account.