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 :/
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()
returnsAuthorizationStatus.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!