adjust / ios_sdk

This is the iOS SDK of
http://www.adjust.com
MIT License
621 stars 291 forks source link

requestTrackingAuthorizationWithCompletionHandler is not triggering permission popup. #463

Closed suatkarakusoglu closed 4 years ago

suatkarakusoglu commented 4 years ago

While using ATTrackingManager's requestTracking method, it prompts with permission dialog and works quite well. But using the Adjust's wrapper function to feed the adjust with the related idfa, it doesn't prompt and even callback is not triggered.

Is there something that I am missing?

uerceg commented 4 years ago

Hi @suatkarakusoglu

Have you added AppTrackingTransparency.framework to list of linked frameworks to your app in Xcode project settings?

suatkarakusoglu commented 4 years ago

Thank you @ugi, this has fixed. I wasn't aware of this step. Have a nice one ;)

suatkarakusoglu commented 4 years ago

If anyone encounters this, fixing it via adding to linked libraries okey. But for lower than iOS 14 devices, the linking should be optional otherwise it doesn't compile.

Screen Shot 2020-09-03 at 16 47 15

uerceg commented 4 years ago

Yep, it should be, added this to README as well. Thanks for pointing out!