Skip to content

A Kotlin Multiplatform Wrapper of Couchbase

License

Notifications You must be signed in to change notification settings

MyUNiDAYS/couchbaselite-kotlin-sdk

Repository files navigation

Couchbase Lite Kotlin SDK GitHub last commit

A Kotlin Multiplatform wrapper for Couchbase Lite

Installation

implementation("com.myunidays:couchbaselite:0.1.1")

How to use

KMM

The api is based on the android sdk, I would recommend you use https://docs.couchbase.com/couchbase-lite/current/android/quickstart.html as the main point of reference.

CouchbaseLite.init(context = context, logLevel= LogLevel.VERBOSE) //initialise for android use Context for ios use null or NSBundle
val database = Database(dbName)
val collection = database.createCollection(collName)

Contributing

This project is set up as an open source project. As such, if there are any suggestions that you have for features, for improving the code itself, or you have come across any problems; you can raise them and/or suggest changes in implementation.

If you are interested in contributing to this codebase, please follow the contributing guidelines. This contains guides on both contributing directly and raising feature requests or bug reports. Please adhere to our code of conduct when doing any of the above.