commonMain.dev.gitlive.firebase.installations.installations.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firebase-installations-js Show documentation
Show all versions of firebase-installations-js Show documentation
The Firebase Kotlin SDK is a Kotlin-first SDK for Firebase. It's API is similar to the Firebase Android SDK Kotlin Extensions but also supports multiplatform projects, enabling you to use Firebase directly from your common source targeting iOS, Android or JS.
package dev.gitlive.firebase.installations
import dev.gitlive.firebase.Firebase
import dev.gitlive.firebase.FirebaseApp
import dev.gitlive.firebase.FirebaseException
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.SerializationStrategy
expect val Firebase.installations: FirebaseInstallations
expect fun Firebase.installations(app: FirebaseApp): FirebaseInstallations
expect class FirebaseInstallations {
suspend fun delete()
suspend fun getId(): String
suspend fun getToken(forceRefresh: Boolean): String
}
expect class FirebaseInstallationsException: FirebaseException
© 2015 - 2024 Weber Informatics LLC | Privacy Policy