BranchMetrics / sdk-release

TUNE iOS, Android, and Windows native SDKs
https://developers.tune.com/sdk/quick-starts/
GNU General Public License v3.0
56 stars 46 forks source link

[iOS] `setAge: null / 0` leads to a coppa-protected account. #45

Open fbartho opened 5 years ago

fbartho commented 5 years ago

We don't track or collect our user's age in our Product. Our product is only for adults. As a result we have no "sane" value to Set Age with.

The iOS SDK Code as written treats an age of 0 as "underage" as far as I can see from the code.

Is there a way to declare globally that age is irrelevant for our product? Otherwise I'm going to have to hack it with setAge: 1000.

Thoughts?

Psrinath-branch commented 5 years ago

Hi @fbartho -

Thank you for reaching out to us with this question.

As your app isn't for underaged kids, our recommendation is not to setAge: or use the setAge: method in your code.

Thanks! Pooja