Skip to content

feat: implement app tracking transparency#31

Merged
dargmuesli merged 5 commits intomainfrom
feat/app-tracking-transparency
Apr 10, 2026
Merged

feat: implement app tracking transparency#31
dargmuesli merged 5 commits intomainfrom
feat/app-tracking-transparency

Conversation

@dargmuesli
Copy link
Copy Markdown
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
Copy Markdown

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

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

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

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
@dargmuesli dargmuesli force-pushed the feat/app-tracking-transparency branch from 191600c to d013c66 Compare April 10, 2026 01:40
@dargmuesli dargmuesli marked this pull request as ready for review April 10, 2026 01:41
@dargmuesli dargmuesli requested a review from Copilot April 10, 2026 01:41
Copy link
Copy Markdown

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 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

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 8c1e219 to b25a17b Compare April 10, 2026 05:22
@dargmuesli dargmuesli linked an issue Apr 10, 2026 that may be closed by this pull request
@dargmuesli dargmuesli merged commit 12eec81 into main Apr 10, 2026
7 checks passed
@dargmuesli dargmuesli deleted the feat/app-tracking-transparency branch April 10, 2026 05:32
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.

feat: implement app tracking transparency

3 participants