The Firebase Kotlin SDK is a Kotlin-first SDK for Firebase. Its 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, Desktop, or Web, enabling the use of Firebase as a backend for Compose Multiplatform, for example. Unlike the Kotlin Extensions for the Firebase Android SDK this project does not extend a Java-based SDK so we get the full power of Kotlin including coroutines and serialization. Asynchronous operations that return a single or no value are represented by suspending functions in the SDK instead of callbacks, listeners or OS specific types such as Task.
Features
- Asynchronous streams of values are represented by Flows in the SDK instead of repeatedly invoked callbacks or listeners
- The official Firebase SDKs use different platform-specific ways to support writing data with and without custom classes in Cloud Firestore, Realtime Database and Functions
- The encodeDefaults parameter is optional and defaults to true
- Polymorphic serialization (sealed classes)
- Operator overloading
- The Firebase Kotlin SDK provides a common API to access Firebase for projects
Categories
MobileLicense
Apache License V2.0Follow Firebase Kotlin SDK
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Firebase Kotlin SDK!