Oliver Salzburg created CB-7308:
-----------------------------------

             Summary: Interpretation of access directive misleading
                 Key: CB-7308
                 URL: https://issues.apache.org/jira/browse/CB-7308
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 3.5.0
            Reporter: Oliver Salzburg


We're building our app for the android, blackberry10 and ios platforms.

Using <access origin="*" /> doesn't work for blackberry10, so, after first 
trying multiple <access/> tags, we ended up with <access 
origin="https://*.example.come"; subdomains="true" uri="https://example.com"/>.

This has the desired effect on all platforms, but generates a warning during 
compilation:

[WARN]    Invalid config.xml - <access> tags should have one of 'uri' or 
'origin' attributes. 'origin' attribute will be ignored

The message suggests to me that, with the current attributes on the tag, I 
could simply leave off "origin", but this will not satisfy the android platform.

Also, the message is missing a newline at the end.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to