firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
A Kotlin-first SDK for Firebase
I integrated `firebase-app`, `firebase-firestore` and `firebase-auth` in my KMM project but when I launch a build command, I got this error: ```bash FAILURE: Build failed with an exception. * What...
``` class FirebaseClient { private val remoteConfig: FirebaseRemoteConfig = Firebase.remoteConfig enum class ConfigValues(val value: String) { API_KEY("api_key"), PREFIX("prefix"), SECRET("secret"), SERVER("server") } fun getString(configValue: ConfigValues): String { return remoteConfig.getValue(configValue.value).asString().base64Decoded } }...
i already check this [page](https://github.com/GitLiveApp/firebase-kotlin-sdk/blob/939c58692b22f9143e9ed1b1a5b36322507d0414/firebase-auth/src/jsMain/kotlin/dev/gitlive/firebase/auth/credentials.kt#L74): ```kotlin actual class PhoneAuthProvider(val js: firebase.auth.PhoneAuthProvider) { actual constructor(auth: FirebaseAuth) : this(firebase.auth.PhoneAuthProvider(auth.js)) actual fun credential(verificationId: String, smsCode: String): PhoneAuthCredential = PhoneAuthCredential(firebase.auth.PhoneAuthProvider.credential(verificationId, smsCode)) actual suspend fun...
Documentation for modules is not there , making it tough to use the library due to this error
I have idea to integrate to this library oauth2 sign in by google, apple, Facebook etc.; Because we need some functionality for get access token I can realization that, but...
https://github.com/GitLiveApp/firebase-kotlin-sdk/blob/master/firebase-app/src/iosMain/kotlin/dev/gitlive/firebase/firebase.kt ``` actual class FirebaseApp internal constructor(val ios: FIRApp) { actual val name: String get() = ios.name actual val options: FirebaseOptions get() = ios.options.run { FirebaseOptions(bundleID, APIKey!!, databaseURL!!, trackingID, storageBucket,...
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](https://github.com/GitLiveApp/firebase-kotlin-sdk/blob/be99f63ddee58328f9ca8acc873a82e397c40d5a/firebase-crashlytics/src/iosMain/kotlin/dev/gitlive/firebase/crashlytics/crashlytics.kt#L25-L33), we pass...
``` > Task :firebase-app:compileDebugUnitTestKotlinAndroid FAILED e: file:///Users/raman/source_ext/firebase-kotlin-sdk/firebase-app/src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt:7:12 Expected property 'context' has no actual declaration in module for JVM e: file:///Users/raman/source_ext/firebase-kotlin-sdk/firebase-app/src/commonTest/kotlin/dev/gitlive/firebase/firebase.kt:8:12 Expected function 'runTest' has no actual declaration in module for...