Skip to content

Commit 0da0fd6

Browse files
committed
Merge remote-tracking branch 'GitLiveApp/master' into feature/field-value-encoding
2 parents 818fe38 + 312beed commit 0da0fd6

File tree

1 file changed

+6
-6
lines changed
  • firebase-crashlytics/src/iosMain/kotlin/dev/gitlive/firebase/crashlytics

1 file changed

+6
-6
lines changed

firebase-crashlytics/src/iosMain/kotlin/dev/gitlive/firebase/crashlytics/crashlytics.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ public actual class FirebaseCrashlytics internal constructor(internal val ios: F
3737
}
3838
public actual fun didCrashOnPreviousExecution(): Boolean = ios.didCrashDuringPreviousExecution()
3939
public actual fun setCustomKey(key: String, value: String) {
40-
ios.setCustomValue(key, value)
40+
ios.setCustomValue(value, key)
4141
}
4242
public actual fun setCustomKey(key: String, value: Boolean) {
43-
ios.setCustomValue(key, value.toString())
43+
ios.setCustomValue(value.toString(), key)
4444
}
4545
public actual fun setCustomKey(key: String, value: Double) {
46-
ios.setCustomValue(key, value.toString())
46+
ios.setCustomValue(value.toString(), key)
4747
}
4848
public actual fun setCustomKey(key: String, value: Float) {
49-
ios.setCustomValue(key, value.toString())
49+
ios.setCustomValue(value.toString(), key)
5050
}
5151
public actual fun setCustomKey(key: String, value: Int) {
52-
ios.setCustomValue(key, value.toString())
52+
ios.setCustomValue(value.toString(), key)
5353
}
5454
public actual fun setCustomKey(key: String, value: Long) {
55-
ios.setCustomValue(key, value.toString())
55+
ios.setCustomValue(value.toString(), key)
5656
}
5757

5858
@Suppress("UNCHECKED_CAST")

0 commit comments

Comments
 (0)