Ionic

      +

      Description — Using Couchbase Lite with Javascript Ionic applications
      Abstract — If you are building mobile or desktop applications using web technologies such as JavaScript/HTML/CSS, there are options for using Couchbase Lite as an embedded database within your app.
      Related Content — Cordova | React Native

      Support Changes
      • The Ionic plugin is now open source and community supported.

      • The Couchbase Lite API, which contains storage and sync functionality, is fully supported as normal for Enterprise customers.

      Introduction

      Ionic’s Couchbase Lite integration is an open source solution for web developers, enabling easy to build secure, high-performance, offline-enabled apps.

      This integration supports apps built for iOS, Android, and native Windows.

      Users can build their own native plugin on top of Couchbase Lite’s native API for iOS and Android. Ionic recommends use of Capacitor, which can be used independent of the application’s UI layer, to access native functionality from within Ionic apps.

      Open source Plugin

      There are several benefits to be drawn from the open source Ionic integration with Couchbase Lite:

      1. It is free to use.

      2. You have the flexibility to customise the plugin to your needs.

      3. You have more control over the functionality of the plugin and how it interacts with your applications.

      4. You can contribute to and engage with a community of developers who also make use of the plugin.

      Alternatively, you can build your own native application on top of Capacitor.

      Accessing Couchbase Lite

      Using a robust JavaScript API, you can access the entirety of Couchbase Lite’s functionality with no native experience required.

      As a starting point, you should follow the hotel search tutorial.
      The tutorial shows how to build an app that allows users to search and bookmark hotels. It uses data loaded from a Couchbase Lite database — see the tutorial at https://ionic.io/docs/couchbase-lite/tutorials/hotel-search