deniza / app_tracking_transparency

A Flutter plugin to show ios 14+ tracking authorization dialog.
https://pub.dev/packages/app_tracking_transparency/
MIT License
86 stars 29 forks source link

App crashing in release mode #38

Closed patreu22 closed 1 year ago

patreu22 commented 1 year ago

Hey there, great Flutter package! Was super easy to integrate and everything seemed to work pretty well in debug mode. After pushing a test to Testflight the app is crashing on the first start.

I tried to find any reports about it but tough time.

I'm basically calling the ATT within the main method of my Flutter app through the regular call await AppTrackingTransparency.requestTrackingAuthorization(); - as mentioned, in debug mode it seems to work fine.

patreu22 commented 1 year ago

Just leaving the solution hear: I accidently mixed up the plist files and only added the Description text to the debug plist and not the release plist.