iamtarun1993 opened a new issue #1243:
URL: https://github.com/apache/cordova-android/issues/1243


   I'm working on a Cordova app. These app generating config.xml file for 
android in this matter.
   ```<?xml version='1.0' encoding='utf-8'?>
   <widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets"; 
xmlns:cdv="http://cordova.apache.org/ns/1.0";>
     <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?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to