React Native SQLCipher 2
SQLCipher Native Plugin for React Native for Android/iOS. This plugin provides a WebSQL-compatible API to store data in a react native app, by using a SQLCipher database on the native side.
Forked from React native SQlite 2
Getting started
$ npm install react-native-sqlcipher-2 --save
Mostly automatic installation
$ react-native link react-native-sqlcipher-2
Additional step for iOS
Add the following to your Podfile
pod 'SQLCipher'
Usage
; const db = SQLite;db;
There is a test app in the test directory.
Using with PouchDB
It can be used with pouchdb-adapter-react-native-sqlite.
const SQLiteAdapter = PouchDBvar db = adapter: 'react-native-sqlite'