AppsFlyerSDK / AppsFlyerFramework

AppsFlyer Apple SDK
https://support.appsflyer.com/hc/en-us/articles/207032066-AppsFlyer-SDK-Integration-iOS
Other
163 stars 90 forks source link

Excessive ATTracking API: trackingAuthorizationStatus #259

Open adamrushy opened 6 months ago

adamrushy commented 6 months ago

Report

After Xcode 15.0 we're starting to get excessive console logs stating the following:

[ATTrackingManager] Call to trackingAuthorizationStatus eligible for rate limiting
trackingAuthorizationStatus API call invoked.

We have tracked this down to AppsFlyer by creating a sample project with only AppsFlyer integrated and the problem happens, after removing the framework, the issue goes away.

SDK Version

6.12.2

What did you do?

Integrate AppsFlyer, following the guides and issue appears.

What did you expect to happen?

No excessive API calls to ATT Status.

What happened instead?

Lots of API calls and streams of console logs.

Please provide any other relevant information.

It's worth noting that I am not sure what consequences are from this issue because we haveren't noticed anything, and I would assume the status wasn't an API call and simply a getter, however, I think the fact Apple is logging this seems we have an issue going on somewhere with excessive calling.

Screenshot of the console:

Screenshot 2023-12-06 at 13 54 30
Anteloper commented 4 months ago

+1 seeing this as well. It's concerning as it's not just a logging issue but it seems the AppsFlyer framekwork is actually spamming the ATTrackingManager with calls, which causes the whole app to run slower. @GM-appsflyer can you weigh in?