A newer version of this documentation is available.

View Latest

Samples

Travel Sample

An in-depth tutorial that demonstrates key end-to-end Couchbase Mobile 2.0 capabilities for iOS, Android and .NET (UWP and Xamarin) platforms. The Travel Sample app will allow users to search for and to make flight reservations Shared bucket access is enabled to allow web and mobile clients to perform the same operations on the bucket.

ToDo Sample

This simple ToDo List application is built with Couchbase Lite 2.0 for iOS, Android, UWP and Xamarin (iOS, Android) platforms. Users can authenticate, create lists with tasks. Each task can have an optional blob (image) attached to it. Lists can be shared with multiple users.

Hotel Finder: Building a React Native Module

In this tutorial, you will learn how to use Couchbase Lite in a React Native project for iOS and Android. The user Interface is written in JavaScript while the business logic and data model is written in native Swift/Java.

Hotel Lister: Building a Cordova Plugin

In this tutorial, you will learn how to use Couchbase Lite in a Cordova plugin for an Ionic project targeting iOS and Android. The user Interface is written in JavaScript while the business logic and data model is written in native Swift/Java.

Swift Playground

This Xcode playground demonstrates many features of the Couchbase Lite 2.0 API. And with the features of Xcode playgrounds, you can run the code sequentially and see results instantly within Xcode.

User Profile Sample: Couchbase Lite Fundamentals

This tutorial will walk you through a simple iOS app that will demonstrate how you can use Couchbase Lite 2.0 as a standalone, embedded data store within your iOS App. You will learn the fundamentals of Database Operations and Document CRUD Operations.

User Profile Sample: Couchbase Lite Query Introduction

This tutorial will walk you through a simple iOS app that will demonstrate how to use a pre-built Couchbase Lite database. In addition, we will look at a sample Query using the new Query API to retrieve records from the local database.

User Profile Sample: Data Sync Fundamentals

This tutorial will introduce you to data sync/replication between Couchbase Lite enabled iOS apps using the Sync Gateway. We will walk through Sync Gateway configuration and the core Sync Function API.

User Profile Sample: Background App Refresh

This tutorial will walk you through an example of how you sync data from Sync Gateway to your Couchbase Lite 2.x enabled iOS app in the background.

University Lister – Using Couchbase Lite with Recycler Views

This tutorial will walk you through a simple example of how you can use Couchbase Lite 2.0 as a standalone, embedded data store within your Android App. Specifically, you will learn the basics of Database CRUD and Query API and specifically how to use Couchbase Lite as a data source for your Recycler Views.