firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
A Kotlin-first SDK for Firebase
I saw in the issues section that many developers are requesting this due to the errors they are facing like `ld: framework not found FirebaseFirestore`. Can you please provide a...
## Overview The `UserMetadata` `creationTime` and `lastSignInTime` values are inconsistent between the different Kotlin targets. In particular, the iOS target produces results different from the Android and JS targets. The...
Currently `FirebaseException` can be initialized with a `code` value, however the `code` is only used to build the default Exception message. There are many cases in which the code is...
Using `dev.gitlive:firebase-auth:1.6.1` I'm getting this error when trying to access ` Firebase.auth` ``` This could happen if the required dependency is missing in the project. Or if there is a...
Cannot access class 'kotlinx.coroutines.flow.Flow'. Check your module classpath for missing or conflicting dependencies. i am getting this error after updating to version 1.6.0. the error shows when trying to call...
When I use firestore transaction I get an Uncaught Kotlin exception. Full output is like this: ``` Uncaught Kotlin exception: kotlin.native.IncorrectDereferenceException: illegal attempt to access non-shared @325c7a8 from other thread...
In the Android SDK, `FirebaseAuthWeakPasswordException` extends `FirebaseAuthInvalidCredentialsException` (see https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseAuthWeakPasswordException). The corresponding error code is `auth/weak-password` -- see the corresponding code in the JS SDK: https://github.com/firebase/firebase-js-sdk/blob/69ff8eb549e49de51cae11a04bce023bb6e1fc02/packages/auth/src/core/errors.ts#L551. The current code mapping (https://github.com/GitLiveApp/firebase-kotlin-sdk/blob/master/firebase-auth/src/jsMain/kotlin/dev/gitlive/firebase/auth/auth.kt#L157)...
While in offline mode, firestore throws an error about lack of connection, which is expected. However this is then made into an exception that crashes the app: ``` 2021-03-12 20:11:58.504712-0500...
What is the right way to decode DataSnapshot (Firebase realtime database) when the node is empty? ``` dataSnapshot.value() dataSnapshot.value(Foo.serializer().nullable) ``` I expect it will return `null`, but it throw cast...