Skip to content

feat: implement app tracking transparency#31

Draft
dargmuesli wants to merge 3 commits intomainfrom
feat/app-tracking-transparency
Draft

feat: implement app tracking transparency#31
dargmuesli wants to merge 3 commits intomainfrom
feat/app-tracking-transparency

Conversation

@dargmuesli
Copy link
Member

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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 TrackingTransparencyManager class 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 NSUserTrackingUsageDescription to 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.

@CLAassistant
Copy link

CLAassistant commented Feb 2, 2026

CLA assistant check
All committers have signed the CLA.

@dargmuesli dargmuesli force-pushed the feat/app-tracking-transparency branch from 64b705e to 45d58c7 Compare February 2, 2026 07:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dargmuesli dargmuesli force-pushed the feat/app-tracking-transparency branch from 4436177 to 7fc5b7d Compare February 2, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants