couchbase-lite-android

Lightweight, embedded, syncable NoSQL database engine for Android.

  • Owner: couchbase/couchbase-lite-android
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Couchbase Lite 2.0

License Build Status

Couchbase Lite is an embedded lightweight, document-oriented (NoSQL), syncable database engine.

Couchbase Lite 2.0 has a completely new set of APIs. The implementation is on top of Couchbase Lite Core, which is also a new cross-platform implementation of database CRUD and query features, as well as document versioning.

Issues

Please file any issues concerning the Couchbase Lite Android product in the root project, couchbase-lite-android-ce,
here

Requirements

  • Android 4.4+ (API 19+)
  • Supported architectures: armeabi-v7a, arm64-v8a and x86
  • Android Studio 3.+

Installation

Download the latest AAR or grab via Maven

Download

Gradle

Add the following in the dependencies section of the application's build.gradle (the one in the app folder).

dependencies {
    implementation 'com.couchbase.lite:couchbase-lite-android:2.5.0'
}

Maven

<dependency>
  <groupId>com.couchbase.lite</groupId>
  <artifactId>couchbase-lite-android</artifactId>
  <version>2.0.0</version>
</dependency>

Documentation

How to build from source

THIS MODULE CAN NO LONGER BE BUILT BY ITSELF
To build couchbase lite, clone https://github.com/couchbase/couchbase-lite-android-ce.git

Sample Apps

ProGuard

If you are using ProGuard you might need to add the following options:

# OkHttp3
-dontwarn okhttp3.**
-dontwarn okio.**
-dontwarn javax.annotation.**
-dontwarn org.conscrypt.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase

# CBL2.x
-keep class com.couchbase.litecore.**{ *; }
-keep class com.couchbase.lite.**{ *; }

License

Apache 2 license.

Main metrics

Overview
Name With Ownercouchbase/couchbase-lite-android
Primary LanguageJava
Program languageJava (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2013-05-10 23:36:45
Pushed At2021-05-20 22:07:31
Last Commit At2020-04-16 13:03:28
Release Count44
Last Release Name2.7.1 (Posted on 2020-04-13 16:32:21)
First Release Name0.7.4 (Posted on )
用户参与
Stargazers Count1.2k
Watchers Count102
Fork Count206
Commits Count3k
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count662
Pull Requests Open Count0
Pull Requests Close Count68
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private