FirestoreKMP

Firebase Firestore wrapper library

License

License

GroupId

GroupId

co.touchlab
ArtifactId

ArtifactId

firestore-ios
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

klib
Description

Description

FirestoreKMP
Firebase Firestore wrapper library
Project URL

Project URL

https://github.com/touchlab/FirestoreKMP
Source Code Management

Source Code Management

https://github.com/touchlab/FirestoreKMP

Download firestore-ios

Dependencies

compile (4)

Group / Artifact Type Version
org.jetbrains.kotlinx : kotlinx-coroutines-core-iosx64 jar 1.3.0-RC
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.3.41
co.touchlab : stately-iosx64 jar 0.9.2
org.jetbrains.kotlinx : kotlinx-coroutines-core-common jar 1.3.0-RC

Project Modules

There are no modules declared in this project.

Firestore SDK for Kotlin Multiplatform

Not Supported!

This library was produced for a client project, but open sourced in support of a talk on Kotlin Multiplatform library development. We don't plan for ongoing support, unless there is renewed client interest.

Overview

Library wrapping the Firestore SDK for Kotlin Multiplatform with clients for Android and iOS. Shared common code can run methods that get delegated to the platform specific SDKs.

Usage

Use Koltin 1.3.50.

Dependency config

sourceSets {
    commonMain {
        dependencies {
            implementation 'co.touchlab:firestore:0.2.5'
        }
    }
}

You'll need to config both Android and iOS as you normally would for Firestore, but then you should be able to get the Firestore instance like this.

getFirebaseInstance()

Then you can do Firestore things.

Droidcon

See live example here

co.touchlab

Touchlab

Versions

Version
0.1.0