You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:description: Using Couchbase Lite with Javascript applications
2
3
:page-role: tiles
3
4
:!sectids:
4
5
5
-
If you are building mobile or desktop applications using web technologies such as JavaScript/HTML/CSS, here are some options for using Couchbase Lite as an embedded database within your app.
6
+
// :topic-group: platforms
7
+
:param-abstract: If you are building mobile or desktop applications using web technologies such as JavaScript/HTML/CSS, here are some options for using Couchbase Lite as an embedded database within your app.
8
+
// :param-related!:
9
+
// include::{root-partials}block-abstract.adoc[]
6
10
7
-
== Cordova/PhoneGap
8
-
9
-
=== Supported Plugin
11
+
{param-abstract}
10
12
11
-
Ionic offers a fully supported https://ionicframework.com/integrations/couchbase-lite[Offline Storage Plugin] that is powered by Couchbase Lite Enterprise Edition.
12
-
The plugin exposes a https://ionicframework.com/docs/enterprise/couchbase-lite[JavaScript API] that has full feature-parity with the underlying native API layer.
13
-
The Ionic native plugin leverages the Cordova plugin to access Couchbase Lite’s native functionality on iOS and Android.
14
-
This means that with Ionic’s native plugin, you can build hybrid apps using Cordova/PhoneGap for iOS and Android platforms.
15
-
If you do not have access to the plugin, please contact your Accounts team.
13
+
== Cordova/PhoneGap
16
14
17
-
=== Build your own
15
+
You can https://blog.couchbase.com/couchbase-lite-data-storage-ionic-app-cordova-plugins/[build] your own https://cordova.apache.org/docs/en//latest/guide/hybrid/plugins/index.html[Cordova plugin] on top of Couchbase Lite’s native API for iOS and Android.
18
16
19
-
You can also https://blog.couchbase.com/couchbase-lite-data-storage-ionic-app-cordova-plugins/[build] your own https://cordova.apache.org/docs/en//latest/guide/hybrid/plugins/index.html[Cordova plugin] on top of Couchbase Lite’s native API for iOS and Android.
20
17
We have a couple of tutorials that describe how you can build your own plugin for https://docs.couchbase.com/tutorials/hotel-lister/android.html[Android] and http://docs.couchbase.com/tutorials/hotel-lister/ios.html[iOS] respectively.
21
-
You can use the samples as a starting point and expand it to suit your application requirements.
18
+
19
+
You can use the samples in the tutorials as a starting point and expand it to suit your application requirements.
22
20
As described in the tutorials, it is recommended that your plugin implements a subset of native APIs that is relevant to your application.
23
21
24
22
== Ionic
25
23
26
-
=== Supported Plugin
27
-
28
-
Ionic offers a fully supported https://ionicframework.com/integrations/couchbase-lite[Offline Storage Plugin] that is powered by Couchbase Lite Enterprise Edition.
29
-
If you are developing cross-platform apps in Ionic, you can use Ionic’s native plugin to access Couchbase Lite’s native functionality on iOS and Android. The plugin exposes a https://ionicframework.com/docs/enterprise/couchbase-lite[JavaScript API] that has full feature-parity with the underlying native API layer.
30
-
The plugin works with Cordova and is compatible with https://capacitor.ionicframework.com/docs/[Capacitor], Ionic’s new app runtime.
31
-
If you do not have access to the plugin, please contact your Accounts team.
32
-
33
-
=== Build your own
34
-
35
24
You can https://blog.couchbase.com/couchbase-lite-data-storage-ionic-app-cordova-plugins/[build] your own https://cordova.apache.org/docs/en//latest/guide/hybrid/plugins/index.html[Cordova plugin] on top of Couchbase Lite’s native API for iOS and Android.
25
+
36
26
The Cordova plugin is independent of the application's UI layer and can be used to access native functionality from within your Ionic apps.
27
+
37
28
We have a couple of tutorials that describe how you can build your own plugin for https://docs.couchbase.com/tutorials/hotel-lister/android.html[Android] and http://docs.couchbase.com/tutorials/hotel-lister/ios.html[iOS] respectively.
38
-
You can use the samples as a starting point and expand it to suit your application requirements.
29
+
30
+
You can use the samples in the tutorials as a starting point and expand it to suit your application requirements.
39
31
As described in the tutorials, it is recommended that your plugin implement a subset of native APIs that is relevant to your application.
40
32
41
33
== React Native
42
34
43
-
=== Build your own
44
-
45
35
https://facebook.github.io/react-native/docs/native-modules-ios[React Native Modules] make it easy to access native platform functionality from within your JavaScript based React Native apps.
46
36
You can leverage this to https://blog.couchbase.com/couchbase-lite-react-native/[build] your own React Native plugin on top of Couchbase Lite’s native API for iOS and Android.
47
37
We have a couple of tutorials that describe how you can build your plugin for https://docs.couchbase.com/tutorials/hotel-finder/android.html[Android] and https://docs.couchbase.com/tutorials/hotel-finder/ios.html[iOS] respectively.
@@ -51,3 +41,8 @@ As described in the tutorials, it is recommended that your plugin implement a su
51
41
== Electron
52
42
53
43
You can develop your own https://electronjs.org[Electron.js] wrapper on top of https://docs.couchbase.com/couchbase-lite/current/csharp/quickstart.html[Couchbase Lite’s C#.NET] API.
0 commit comments