Conversation
There was a problem hiding this comment.
Pull request overview
This pull request implements Apple's App Tracking Transparency (ATT) framework to allow the app to request user permission for tracking, check the current tracking authorization status, and retrieve the IDFA (Identifier for Advertisers) in compliance with Apple's privacy requirements. The implementation follows the iOS 14+ ATT requirements.
Changes:
- Added
TrackingTransparencyManagerclass to encapsulate ATT logic and provide a clean interface for requesting permissions, checking status, and retrieving IDFA - Registered three new WebKit message handlers (
att-request-permission,att-get-status,att-get-idfa) to expose ATT functionality to the web view - Added
NSUserTrackingUsageDescriptionto Info.plist explaining why the app requests tracking permission
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| vibetype/TrackingTransparency.swift | New manager class implementing ATT functionality with methods to request permission, check status, and retrieve IDFA |
| vibetype/ViewController.swift | Added three handler functions for ATT message handlers, dispatching custom events to JavaScript with tracking status and IDFA |
| vibetype/WebView.swift | Registered three new message handlers for ATT functionality in the WebKit user content controller |
| vibetype/Info.plist | Added required NSUserTrackingUsageDescription key with user-facing explanation of tracking permission |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
64b705e to
45d58c7
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4436177 to
7fc5b7d
Compare
This pull request adds support for Apple's App Tracking Transparency (ATT) framework, allowing the app to request tracking authorization, check the current status, and retrieve the IDFA (Identifier for Advertisers) in a privacy-compliant way. It introduces a dedicated manager for ATT logic, updates the permissions in the app's
Info.plist, and connects these features to the web view via new JavaScript message handlers.