Using a plugin written in nativescript in a Ionic app


#1

Hi,

I am new to Angular2, Ionic2, TypeScript and all those new technologies.

I want to build a new app using Ionic2 and I want to use Couchbase Lite as a local database on the mobile devices so I will have sync across multiple apps.

Couchbase offers a plugin for NativeScript apps, but I don’t want any native design and stuff. I just want to use the Ionic way and just that Couchbase plugin to be converted to native code and stuff.
Here is the plugin https://github.com/couchbaselabs/nativescript-couchbase

Is there any way I can include this in my app ? For ionic1 there was this plugin https://github.com/couchbaselabs/ng-couchbase-lite, but I really want to move forward and use those new technologies.


#2

You actually should be able to just use this plugin

Or the raw JS API provide by couchbse-lite