AppsFlyerSDK / AppsFlyerFramework

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

Excessive ATTracking API: trackingAuthorizationStatus #259

Open adamrushy opened 11 months ago

adamrushy commented 11 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 8 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?

ricsantos commented 4 months ago

Just updated to AppsFlyerFramework 6.14.5 and the issue is still present. Fun times.

mjholtzem-marauder commented 1 week ago

We're also having an issue with this. Seems like there is some correlation with resuming the app after having it backgrounded. In our case we are using the AppsFlyer unit plugin. Tried updating to the latest version 6.15.3 and the issue persisted