Bug 217132 - NSCrossWebsiteTrackingUsageDescription does not prompt to allow or block ITP
Summary: NSCrossWebsiteTrackingUsageDescription does not prompt to allow or block ITP
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 13
: P1 Major
Assignee: Nobody
URL:
Keywords: HTML5
Depends on:
Blocks:
 
Reported: 2020-09-30 11:00 PDT by Spambit
Modified: 2020-10-05 08:40 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Spambit 2020-09-30 11:00:47 PDT
I am working on WKWebView in iOS 14. I put NSCrossWebsiteTrackingUsageDescription in info.plist and could see ITP toggle button in app specific settings. But I wonder should it not prompt user with system popups like permissions consent? I don't see any such popup. Is it bug in iOS14? The reason I ask because if it does not show anything to user what's the purpose of taking a string for the key in info.plist.
Comment 1 Kate Cheney 2020-10-01 16:29:22 PDT
(In reply to Spambit from comment #0)
> I am working on WKWebView in iOS 14. I put
> NSCrossWebsiteTrackingUsageDescription in info.plist and could see ITP
> toggle button in app specific settings. But I wonder should it not prompt
> user with system popups like permissions consent? I don't see any such
> popup. Is it bug in iOS14? The reason I ask because if it does not show
> anything to user what's the purpose of taking a string for the key in
> info.plist.

Hi! Thanks for filing this. This behavior is expected, there is no prompt that should appear when adding NSCrossWebsiteTrackingUsageDescription to the Info.plist. The purpose of the purpose string is to let an app request to show the ITP toggle, but the only way to change it is if the user does it themselves in Settings.
Comment 2 Spambit 2020-10-03 08:57:47 PDT
Ok, that is good to know. I guess you can close this issue then. Thanks for your prompt reply.