Couchbase lite setup on the ionic framework

331 views
Skip to first unread message

Pranav Bhole

unread,
Nov 10, 2014, 12:40:30 PM11/10/14
to mobile-c...@googlegroups.com
Hello, I am writing the app on ionic framework and I wish to use the couchbase lite in my app. Is ionic supports the couchbase lite sync gateways ??
I have seen the plugin https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin  but it is setup on the phone gap.
Can you please help me in setting up couchbase lite app on ionic framework?
It would be great if you could provide me the link for the sample ionic app on the couchbase lite.

Thank you

Jens Alfke

unread,
Nov 10, 2014, 1:48:08 PM11/10/14
to mobile-c...@googlegroups.com
On Nov 10, 2014, at 9:40 AM, Pranav Bhole <prana...@gmail.com> wrote:

Hello, I am writing the app on ionic framework and I wish to use the couchbase lite in my app. Is ionic supports the couchbase lite sync gateways ?? 

I'm not familiar with Ionic, but from the website it looks like it's just a front-end JS framework for building the UI of an app. So it's not directly related to Couchbase Lite, which is for data management and sync. You should be able to use the two of them together.

I have seen the plugin https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin  but it is setup on the phone gap.  

PhoneGap is just another name for Cordova, which apparently Ionic uses.

—Jens

Daniel Matejka

unread,
Dec 4, 2014, 9:03:59 AM12/4/14
to mobile-c...@googlegroups.com
Hi, just about to try it myself. Did you managed to get it working? I thing angluar $resource service should work, but did not tried it yet.

Best regards

Daniel

Eno

unread,
Dec 4, 2014, 3:32:23 PM12/4/14
to mobile-c...@googlegroups.com
FYI, PhoneGap is owned by Adobe and Cordova is the open source version. Generally most plugins are interoperable between the two. We are using Ionic and the Couchbase Lite plugin just fine.

@Jens: Ionic layers AngularJS on top of Cordova and also has a CLI tool that acts as a wrapper for the Cordova CLI for certain tasks.

Nic Raboy

unread,
Jul 20, 2015, 2:37:19 PM7/20/15
to mobile-c...@googlegroups.com, prana...@gmail.com
Here is a tutorial for using Ionic with Couchbase Lite:


Should put you on the right track if you're still interested.

Best,
Reply all
Reply to author
Forward
0 new messages