Slide 39
Slide 39 text
// Set a key to a string.
FirebaseCrashlytics.getInstance().setCustomKey("str_key", "hello")
// Set a key to a boolean.
FirebaseCrashlytics.getInstance().setCustomKey("bool_key", true)
// Set a key to an int.
FirebaseCrashlytics.getInstance().setCustomKey("int_key", 1)
// Set a key to an long.
FirebaseCrashlytics.getInstance().setCustomKey("int_key", 1L)
// Set a key to a float.
FirebaseCrashlytics.getInstance().setCustomKey("float_key", 1.0f)
// Set a key to a double.
FirebaseCrashlytics.getInstance().setCustomKey("double_key", 1.0)
E ainda...
Chaves custom