Skip to main content
Version: v1.1

Prerequisites

Couchbase Lite for React Native is provided as a Native Module. Version 1.1 supports React Native New Architecture through TurboModules on iOS and Android.

The Native Module can be found at the following repository: Couchbase Lite for React Native. npm package: @couchbase/couchbase-lite-react-native. Shared TypeScript and JavaScript code lives in cblite-js.

A developer using this plugin should have a basic understanding of the following technologies:

Expo Note

React Native's recommmendation is to use Expo for development . The example app that comes with the repository is an Expo based app, thus this Native Module can work in Expo apps. Note using Expo Go is not supported due to Expo Go not supporting loading 3rd party Native Modules. You will need to be familiar with the Expo Dev Client process to use this Native Module in an Expo app.

Supported Platforms

  • The React Native - Native Module is supported on iOS and Android platforms. MacOS, Windows, and Web support is not available at this time.

React Native Version

  • The plugin is built using React Native 0.76.3. Support for older versions of React Native is not guaranteed and apps should be based on 0.76.3 or higher.
  • Version 1.1 supports TurboModules through React Native New Architecture. Apps should enable New Architecture when using the TurboModule implementation.

Please review the React Native Support documentation for a full listed of supported platform versions.

Development Environment