Thu, 17 Jun 2021 08:27:20 GMT
Join the conversation at slack.cordova.io
Wed, 16 Jun 2021 09:21:23 GMT
@iamtarun1993 says
I'm working on a Cordova app. These app generating config.xml file for android in this matter.
<access origin="*" /> <feature name="GooglePlus"> <param name="android-package" value="nl.xservices.plugins.GooglePlus"/> <param name="onload" value="true"/> </feature> <feature name="InAppBrowser"> <param name="android-package" value="org.apache.cordova.inappbrowser.InAppBrowser"/> </feature> <feature name="CDVOrientation"> <param name="android-package" value="cordova.plugins.screenorientation.CDVOrientation"/> </feature> <feature name="ImagePicker"> <param name="android-package" value="com.synconset.ImagePicker"/> </feature> </widget>``` Now from here, we can see access origin is open for all. But I want to put different domain whitelisting for different plugin. Ex: 1. `<https://accounts.google.com/*>` for GooglePlus 2. `<https://mydomain.com>` for the in-app browser. How to achieve this?