1.0.7 • Published 7 years ago
couchbase-ogm v1.0.7
react-native-couchbase-lite
Disclaimer
This package is not an official couchbase plugin and is not supported in any way by couchbase.
Installation
Create a new React Native project.
react-native init <project-name>
Navigate to your project directory and install the plugin.
cd <project-name> npm install couchbase-ogm --save
Link the native libraries.
react-native link couchbase-ogm
iOS only
Download the Couchbase Lite iOS SDK from here and drag CouchbaseLite.framework, CouchbaseLiteListener.framework, CBLRegisterJSViewCompiler.h, libCBLJSViewCompiler.a in the Xcode project.
Start React Native.
react-native start
Build and run for iOS/Android.
Getting Started
Check the ExampleIndex.android.js to see an example implementation of the library