You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/09/23 06:36:47 UTC

[GitHub] [cordova-ios] CGS38 commented on issue #922: iOS 14 will enable Intelligent Tracking Prevention in WKWebView by default

CGS38 commented on issue #922:
URL: https://github.com/apache/cordova-ios/issues/922#issuecomment-697164581


   On iOS14, still stuck on this ITP problem... 
   
   I tried to disable ITP controls by adding 
   NSCrossWebsiteTrackingUsageDescription to the app’s Info.plist but no user prompt is requested at runtime. By going manually to the app authorisations it is possible in this case to deactivate this security and restore nominal operation for xhr calls with third party cookies. Not satisfactory...
   
   Another unsuccessfully tested solution, 
   addition of  
   
   ```
   <plist version="1.0">
   <dict>
   <key>WKAppBoundDomains</key>
   <array>
        <string>localhost</string>
       <string>mydomain.com</string>
   </array>
   </dict>
   ```
   with also :
   WKWebViewConfiguration with the specific argument: webViewConfiguration.limitsNavigationsToAppBoundDomains = YES;
   
   
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org