text: import PouchDB from '@craftzdog/pouchdb-core-react-native';
  import HttpPouch from 'pouchdb-adapter-http';
  import replication from 'pouchdb-replication';
  import mapreduce from 'pouchdb-mapreduce';
  
  import SQLite from 'react-native-sqlite-2';
  import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite';
  
  const SQLiteAdapter = SQLiteAdapterFactory(SQLite);
  
  export default PouchDB.plugin(HttpPouch)
    .plugin(replication)
    .plugin(mapreduce)
    .plugin(SQLiteAdapter);
  