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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to