app_tracking_transparency icon indicating copy to clipboard operation
app_tracking_transparency copied to clipboard

macOS support

Open tmarzeion opened this issue 2 years ago • 1 comments

Hey! 👋

The App I am currently working on needs to display ATT consent on macOS App built by Flutter.

I've noticed that ATTrackingManager is supporting macOS 11.0+ (https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager)

I've tried to extend this plugin to support macOS, but unfortunately requestTrackingAuthorization() returns AuthorizationStatus.notDetermined without displaying any dialog.

I have no clue why dialog is not showing up. ATTrackingManager API is designed poorly, there are no error logs, no exceptions, just AuthorizationStatus.notDetermined :/

Maybe you (or anyone who tries to extend this plugin to support macOS in the future) will be able to find out what's wrong? There is my macOS support commit from my fork: https://github.com/deniza/app_tracking_transparency/commit/5d8c777657d4aaab6de90891655bc473822e9217

Any feedback will be really appreciated, cheers!

tmarzeion avatar Dec 02 '22 19:12 tmarzeion

+1

venkata-reddy-dev avatar Mar 14 '24 04:03 venkata-reddy-dev