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/10/04 22:04:31 UTC

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

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


   > 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;
   
   Hi,
   
   how is the value for NSCrossWebsiteTrackingUsageDescription key? A descriptive string or specific value?
   Thanks


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