bryan-hunter commented on PR #1249:
URL: https://github.com/apache/cordova-ios/pull/1249#issuecomment-1251483839

   > ### Platforms affected
   > IOS
   > 
   > ### Motivation and Context
   > Currently there is no option to set the limitsNavigationsToAppBoundDomains 
attribute from the `config.xml`. If you want to use cookie authentication or 
browser APIs you want to set this to `YES`.
   > 
   > Official documentation: https://webkit.org/blog/10882/app-bound-domains/
   > 
   > ### Description
   > This changeset is copied from this tutorial: 
https://www.ryseapp.io/blog/engineering/step-by-step-guide-to-setup-and-configure-cordova-for-ios-and-android-to-load-a-hosted-react-app
   > 
   > ### Testing
   > Tested on multiple simulator instances and and physical hardware. Without 
it the cookie authentication for a single domain will not work. After I add 
this change the authentication works.
   > 
   > ### Checklist
   > * [x]  I've run the tests to see all new and existing tests pass
   > * [ ]  I added automated test coverage as appropriate for this change
   > * [x]  Commit is prefixed with `(platform)` if this change only applies to 
one platform (e.g. `(android)`)
   > * [ ]  If this Pull Request resolves an issue, I linked to the issue in 
the text above (and used the correct [keyword to close issues using 
keywords](https://help.github.com/articles/closing-issues-using-keywords/))
   > * [ ]  I've updated the documentation if necessary
   
   Thanks for adding this @gazben ! I'm not sure why I didn't contribute this 
back here and just put it in the blog post, but you're being a better open 
source contributor than me :)


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