0

I'm trying to add custom keys to my crash reports as described here:

http://docs.fabric.io/android/crashlytics/enhanced-reports.html#custom-keys

However, all the methods appear to be deprecated:

enter image description here

What am I missing?

ilitirit
  • 16,016
  • 18
  • 72
  • 111

2 Answers2

0

The latest version is 2.3.2 and the documentation indicates to use CrashlyticsCore.getInstance() instead of Crashlytics directly to set custom keys or log.

http://docs.fabric.io/javadocs/crashlytics/2.3.2/

** UPDATED **

The documentation page has been updated: https://dev.twitter.com/crashlytics/android/enhancing-crash-reports

Crashlytics.getInstance().core
jmarsh
  • 9
  • 2
0

According to a comment here, the documentation is outdated.

You are supposed to use:

Crashlytics.getInstance().core.setXYZ()
Community
  • 1
  • 1
ilitirit
  • 16,016
  • 18
  • 72
  • 111