app_tracking_transparency icon indicating copy to clipboard operation
app_tracking_transparency copied to clipboard

fix: #54, #50 issues

Open daltoncabrera opened this issue 1 year ago • 2 comments

Workaround to bypass: requestTrackingAuthorization call returns immediately with denied value on iOS.

more info: https://forums.developer.apple.com/forums/thread/748317

daltoncabrera avatar May 29 '24 16:05 daltoncabrera

Tested this fix for the issue #50 , it worked for me

tested on iOS 17.4.1 (iPhone 11, real device), with Xcode 15.4

giboin avatar Jun 12 '24 09:06 giboin

Please merge this, because this solves some major issues with the latest iOS version, where the app tracking transparency library doesn't work.

JuKu avatar Jun 18 '24 19:06 JuKu

This PR is now 7 weeks old - any reason for the delay?

xni06 avatar Jul 16 '24 13:07 xni06

Thank you for the contribution and for addressing the issues #54 and #50. However, I believe that the proposed solution is quite hacky as its nature and implementing this fix directly in the plugin might lead to maintenance challenges and potential issues in the future.

I suggest handling this workaround in the Flutter side of the project. This approach would keep the plugin code cleaner and more maintainable.

deniza avatar Jul 18 '24 12:07 deniza

@deniza The same phenomenon is occurring. The knowledge that requestTrackingAuthorization should be called after didBecomeActiveNotification is clearly information that the user side shouldn't need to know, and should be encapsulated. We expect the library side to handle this, even if it means using a different solution.

kentrino avatar Jul 31 '24 01:07 kentrino

Is there a workaround for this issue? I need a solution for this ASAP. Badly, I cannot wait 7 weeks again for a fix.

JuKu avatar Jul 31 '24 13:07 JuKu

@JuKu, @kentrino I just merged the pull request fixing this issue.

deniza avatar Jul 31 '24 14:07 deniza

And by the way, big thanks to @daltoncabrera again for this fix.

deniza avatar Jul 31 '24 14:07 deniza