AppsFlyerSDK / appsflyer-unity-plugin

AppsFlyer Unity Plugin
MIT License
154 stars 62 forks source link

Appsflyer 6.0.1 behavior changed #38

Closed IgorGalimski closed 3 years ago

IgorGalimski commented 3 years ago

Hi! I have a question about new version. In the changes I see this method 'AppsFlyeriOS.waitForAdvertisingIdentifierWithTimeoutInterval'

Does the method postpone Appsflyer initialization for timeout? Thanks!

wesfieldj commented 3 years ago

Hi @IgorGalimski,

Yes, this will postpone the launch until either the ATTrackingManager pop-up is closed or the time is up.

Check out the docs here for more info and an example.

IgorGalimski commented 3 years ago

Hi! Thanks for the reply! Could you please provide info - what won't be working without IDFA? Install tracking, events or other

osamaraza24 commented 3 years ago

@wesfieldj can we skip AppsFlyeriOS.waitForAdvertisingIdentifierWithTimeoutInterval call and call ATTrackingManager Popup explicitly ? then how would SDK behave ?it will use IDFA or not ? because i use Appsflyers for event logging and call native popup in game not before init or STARTSDK , if user allow tracking ,i simply AppsFlyeriOS.setDisableCollectAppleAdSupport(false); or for not set true , checked debug log appsflyer say "IDFA Disable" all time, but in sending event advertise Ids empty but when allow tracking it send advertiseids, is it right flow ?

wesfieldj commented 3 years ago

@IgorGalimski @osamaraza24

Apple has announced that they will delay the need to request IDFA until 2021. We have made important changes to the SDK to reflect these latest updates by apple. We will release v6.0.3 of the plugin later this week so please use v6.0.3 going forward.

In v6.0.3 IDFA will be collected as before even with iOS 14. There is no need for ATTrackingManager pop-up. (for the next few months)

If you use the pop-up and the waitForATTUserAuthorizationWithTimeoutInterval then IDFA will only be collected if the user accepts.

@IgorGalimski all SDK functionality will continue to work without IDFA. Attribution will be based on probabilistic modeling.

@osamaraza24 If you still choose to use ATTrackingManager pop-up and skip the call to waitForATTUserAuthorizationWithTimeoutInterval then the SDK will not receive the IDFA on the first launch, and this will poorly affect attribution. The right flow is to call the wait API before startSDK().

However, once again following apple's lastest changes this flow is not needed until they make ATTrackingManager mandatory to collect IDFA.