El-Tommy opened a new issue, #1285:
URL: https://github.com/apache/cordova-ios/issues/1285

   In my app I have some links with the tag `<a href="">` and also with 
javascript with the code below.
   
   ```javascript
   let url = param;
   window.open(url, '_system');
   ```
   
   My config.xml is configured as below, and opening links works perfectly, 
when clicking on a link or executing the `window.open` function, it opens 
Safari and the attachment together.
   
   ```
   <access origin="*" />
   <allow-intent href="http://*/*"; />
   <allow-intent href="https://*/*"; />
   <allow-intent href="tel:*" />
   <allow-intent href="sms:*" />
   <allow-intent href="mailto:*"; />
   <allow-intent href="geo:*" />
   ```
   
   However, as I need to display some videos from YouTube and Vimeo, I needed 
to add the `allow-navigation` tag, but when I do that, the `allow-intent` 
setting is ignored and all links start opening inside the app.
   
   
   ```
   <access origin="*" />
   <allow-intent href="http://*/*"; />
   <allow-intent href="https://*/*"; />
   <allow-intent href="tel:*" />
   <allow-intent href="sms:*" />
   <allow-intent href="mailto:*"; />
   <allow-intent href="geo:*" />
   
   <allow-navigation href="https://*youtube.com/*"/>
   <allow-navigation href="https://*vimeo.com/*"; />
   ```
   
   I don't know if this is a bug or my fault.
   
   
   - Cordova: 11.1.0
   - Cordova iOS: 6.2.0
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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