FirestoreKMP

Firebase Firestore wrapper library

License

License

GroupId

GroupId

co.touchlab
ArtifactId

ArtifactId

firestore-android-debug
Last Version

Last Version

0.2.7-mt2
Release Date

Release Date

Type

Type

aar
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-android-debug

How to add to project

<!-- https://jarcasting.com/artifacts/co.touchlab/firestore-android-debug/ -->
<dependency>
    <groupId>co.touchlab</groupId>
    <artifactId>firestore-android-debug</artifactId>
    <version>0.2.7-mt2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/co.touchlab/firestore-android-debug/
implementation 'co.touchlab:firestore-android-debug:0.2.7-mt2'
// https://jarcasting.com/artifacts/co.touchlab/firestore-android-debug/
implementation ("co.touchlab:firestore-android-debug:0.2.7-mt2")
'co.touchlab:firestore-android-debug:aar:0.2.7-mt2'
<dependency org="co.touchlab" name="firestore-android-debug" rev="0.2.7-mt2">
  <artifact name="firestore-android-debug" type="aar" />
</dependency>
@Grapes(
@Grab(group='co.touchlab', module='firestore-android-debug', version='0.2.7-mt2')
)
libraryDependencies += "co.touchlab" % "firestore-android-debug" % "0.2.7-mt2"
[co.touchlab/firestore-android-debug "0.2.7-mt2"]

Dependencies

runtime (9)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.3.72
co.touchlab : stately-common-jvm jar 1.0.3
co.touchlab : stately-concurrency-jvm jar 1.0.3
org.jetbrains.kotlinx : kotlinx-coroutines-core-common jar 1.3.5-native-mt
org.jetbrains.kotlin : kotlin-stdlib jar 1.3.72
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.3.5-native-mt
com.google.firebase » firebase-firestore jar 20.1.0
com.google.firebase » firebase-core jar 17.0.1
androidx.appcompat » appcompat jar 1.0.2

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.2.7-mt2
0.2.6
0.2.5
0.2.2
0.1.0