GitLiveApp / firebase-kotlin-sdk

A Kotlin-first SDK for Firebase
https://gitliveapp.github.io/firebase-kotlin-sdk/
Apache License 2.0
1.17k stars 155 forks source link

iOS Crashlytics custom key values are inverted #411

Open hichamboushaba opened 1 year ago

hichamboushaba commented 1 year ago

When setting custom values for Crashlytics in iOS, the keys and values are inverted. The cause is that we use the wrong order when calling the function here, we pass the key as the first parameter, while it should be the second, as the documentation states too https://firebase.google.com/docs/reference/swift/firebasecrashlytics/api/reference/Classes/Crashlytics#setcustomvalue_:forkey: