Couchbase Lite

Improve this doc

$ ionic plugin add https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin
$ npm install --save @ionic-native/couchbase-lite

Repo: https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin

Plugin to install Couchbase Lite in your PhoneGap app on iOS or Android

Supported platforms

Usage

import { CouchbaseLite } from '@ionic-native/couchbase-lite';

constructor(private couchbase: CouchbaseLite) {

  couchbase.getURL()
    .then(url => console.log(url))
    .catch(error => console.error(error));

}

Instance Members

getURL()

Get the database url

Returns: Promise<any> Returns a promise that resolves with the local database url

API

Native

General