Coder Social home page Coder Social logo

verma171 / couchbase-lite-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from couchbase/couchbase-lite-android

0.0 1.0 0.0 72.47 MB

Lightweight, embedded, syncable NoSQL database engine for Android.

Home Page: http://developer.couchbase.com/mobile/

License: Apache License 2.0

Java 100.00%

couchbase-lite-android's Introduction

Couchbase Lite 2.0

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.

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.0.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

  1. git clone --recursive https://github.com/couchbase/couchbase-lite-android.git to clone this repo and it's submodules
  2. In Android Studio, open the android subdirectory
  3. Install CMake

At this point it should build without errors.

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.

couchbase-lite-android's People

Contributors

pasin avatar tleyden avatar andreibaranouski avatar devexter avatar lichenyang2 avatar mjq avatar yaronyg avatar sergio91pt avatar jamesnocentini avatar waynecarter avatar zgramana avatar vbenso avatar alexlehn avatar pegli avatar rajasaur avatar amy-kurtzman avatar braisgabin avatar snej avatar jsdevel avatar pamalyshev avatar ashihaby avatar hideki avatar

Watchers

Ravindra Kumar Verma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.