Skip to content

feat(platform): consent to optional cookies through native ios framework#1845

Merged
dargmuesli merged 3 commits intomainfrom
feat/app/ios-tracking
Apr 10, 2026
Merged

feat(platform): consent to optional cookies through native ios framework#1845
dargmuesli merged 3 commits intomainfrom
feat/app/ios-tracking

Conversation

@dargmuesli
Copy link
Copy Markdown
Member

@dargmuesli dargmuesli commented Apr 3, 2025

📚 Description

Consent for optional cookies should be set using the native ios tracking framework. AppTracking permission now acts as acceptance of cookies.

  • Cookie banner is hidden for IOS

📝 Checklist

  • All commits follow the Conventional Commit format or I'm fine with a squash merge of this PR
  • The PR's title follows the Conventional Commit format

Comment thread src/app/app.vue Outdated
Comment thread src/app/app.vue Outdated
Comment thread src/app/app.vue Outdated
Comment thread src/app/app.vue
Comment thread src/app/app.vue Outdated
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 28, 2025

CLA assistant check
All committers have signed the CLA.

@dargmuesli dargmuesli force-pushed the feat/app/ios-tracking branch from 9aa6845 to 8040639 Compare April 9, 2026 16:40
@dargmuesli dargmuesli marked this pull request as ready for review April 10, 2026 01:32
@dargmuesli dargmuesli requested a review from Copilot April 10, 2026 01:32
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

Implements iOS-specific consent handling by treating App Tracking Transparency (ATT) authorization as acceptance of optional cookies, and hides the cookie banner for the iOS app platform.

Changes:

  • Add ATT capability detection, permission request, and callback handling to enable optional cookies after authorization.
  • Introduce a client-only Nuxt plugin to register the iOS ATT callback handler on startup.
  • Update UI behavior to hide the cookie banner on iOS and trigger ATT permission request from the “Cookies” settings entry.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/app/utils/pwa/ios.ts Adds ATT capability detection, permission request, and event handler to update cookie consent.
src/app/plugins/tracking.client.ts Registers the iOS ATT callback handler during client initialization when available.
src/app/pages/session/edit/index.vue Makes the “Cookies” button request ATT permission on iOS instead of opening the cookie modal.
src/app/app.vue Hides <CookieControl> on iOS and requests tracking permission on mount.

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

Comment thread src/app/utils/pwa/ios.ts
@dargmuesli dargmuesli force-pushed the feat/app/ios-tracking branch from 9593f42 to 6135464 Compare April 10, 2026 05:09
@dargmuesli dargmuesli merged commit 924c15a into main Apr 10, 2026
10 checks passed
@dargmuesli dargmuesli deleted the feat/app/ios-tracking branch April 10, 2026 05:29
maevsi-bot pushed a commit that referenced this pull request Apr 10, 2026
## [14.1.0](14.0.1...14.1.0) (2026-04-10)

### Features

* **platform:** consent to optional cookies through native ios framework ([#1845](#1845)) ([924c15a](924c15a))
@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 14.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

maevsi-bot pushed a commit that referenced this pull request Apr 14, 2026
## [15.0.0-beta.5](15.0.0-beta.4...15.0.0-beta.5) (2026-04-14)

### Features

* **platform:** consent to optional cookies through native ios framework ([#1845](#1845)) ([924c15a](924c15a))

### Bug Fixes

* **app:** hide cookie button on ios ([#2258](#2258)) ([ace4e7b](ace4e7b))
* **security:** temporarily disable csrf check ([#2262](#2262)) ([9a600ff](9a600ff))
* **util:** try to show original network error ([#2261](#2261)) ([81e4475](81e4475))
@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 15.0.0-beta.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants