3

I have integrated Fabric Crashlytics and Answers into my app today. According to German law the user must have the oppurtunity to disable the collection of analytics data.

I found this solution for Android: https://stackoverflow.com/a/36203869/4543961

Can anyone help me to find a similar solution for iOS? That will allow me to disable data collection but keep Crashlytics data collection.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Mojo
  • 377
  • 6
  • 18
  • 2
    Mike from Fabric here. You can email into support(at)fabric(dot)io if you need Answers data collection turned off, include your app's bundle id. – Mike Bonnell Jun 13 '17 at 13:06
  • Hi Mike, many thanks for you replay. I will send the mail. – Mojo Jun 13 '17 at 21:34

1 Answers1

-4

As of Fabric 1.7.2 you explicitly specify kits you want to use upon initialization of Fabric:

[Fabric with:@[[Crashlytics class], [Answers class]]];

Thus if user disabled collection of analytics data - you may wish to not even initialize Answer kit.

Generally, just don't log any events and don't set any keys to Answers if user disabled data collection.

vahotm
  • 379
  • 5
  • 16