adamdport commented on issue #1088:
URL: https://github.com/apache/cordova-ios/issues/1088#issuecomment-830716659


   @tymcdowell App Bound Domains don't restrict past the domain level. In other 
words, you can't whitelist index.html–you can only whitelist the domain that 
index.html is hosted under (eg. yourdomain.com if your app is served from 
ionic://yourdomain.com, looks like this is configured under the `hostname` 
preference according to the [ionic 
docs](https://github.com/ionic-team/cordova-plugin-ionic-webview#android-and-ios-preferences)).
 These domains are added in your app's plist as documented here: 
https://webkit.org/blog/10882/app-bound-domains/
   
   ```
   <plist version="1.0">
   <dict>
   <key>WKAppBoundDomains</key>
   <array>
       <string>example1.com</string>
       <string>example2.org</string>
       ...
   </array>
   </dict>
   ```
   
   But to be clear I don't use Ionic so I can't say for sure whether it's 
working there. 


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