Skip to content

Commit 2c5648f

Browse files
committed
Update README
1 parent b1a52b6 commit 2c5648f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,24 @@ Here is benchmark results:
2727
### Prerequisites
2828

2929
- [pouchdb-react-native](https://github.com/stockulus/pouchdb-react-native)
30-
- [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage)
30+
- A SQLite module
31+
- [react-native-sqlite-2 (recommended)](https://github.com/noradaiko/react-native-sqlite-2)
32+
- [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage)
3133

3234
### Usage
3335

3436
Install from npm:
3537

3638
```bash
3739
npm install pouchdb-react-native pouchdb-adapter-react-native-sqlite --save
38-
react-native install react-native-sqlite-storage
40+
react-native install react-native-sqlite-2
3941
```
4042

4143
Then `import` it, notify PouchDB of the plugin, and initialize a database using the `react-native-sqlite` adapter name:
4244

4345
```js
4446
import PouchDB from 'pouchdb-react-native'
45-
import SQLite from 'react-native-sqlite-storage'
47+
import SQLite from 'react-native-sqlite-2'
4648
import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite'
4749

4850
const SQLiteAdapter = SQLiteAdapterFactory(SQLite)

0 commit comments

Comments
 (0)