lytics / ios-sdk

MIT License
0 stars 0 forks source link

Ensure flow for enabling and disabling consent is smooth, defined, and as expected. #58

Open markhayden opened 1 year ago

markhayden commented 1 year ago

In testing we found that consent can be a bit wonky. Wonky meaning that if I accept consent, and then revoke consent, especially if IDFA is at play some strange things can happen. Let's discuss how we expect this to work and not work to ensure we at minimum have a clear set of guidelines on what to expect.

As an example if I deny "tracking" in the iOS device settings there is no warning or method for letting the user know their experience may be impacted. Maybe this isn't possible on iOS but at a minimum we need to understand the behavior and include it in our formal documentation for customers.

mgacy commented 1 year ago

The basic process is controlled by Apple and the AppTrackingTransparency framework. If the strange things are an IDFA of 00000000-0000-0000-0000-000000000000, that is the expected behavior of ASIdentifierManager.advertisingIdentifier, from which the IDFA is obtained.