Skip to content

Pouch db crashes my React native App #8477

Closed

Description

@gbengeA

Installation

My App crashes on adding pouchDB code after installation

Info

  • Environment: ( expo react-native web and android)
  • Platform: (Chrome, Android, iOS)
  • Target App to run on expo web, android and ios

Reproduce

dependecies

"pouchdb-react-native": "^6.4.1",
"expo": "~44.0.0",
"react-native": "0.64.3"

code

import PouchDB from 'pouchdb-react-native'
 db.get('4711')
        .then(doc => console.log(doc))

Crash logs

./node_modules/pouchdb-adapter-asyncstorage/src/databases.js:32
"export 'default' (imported as 'AsyncStorageCore') was not found in './asyncstorage_core'
30 | }
31 |

32 | const storage = new AsyncStorageCore(opts.name)
33 |
34 | storage.multiGet(toMetaKeys([
35 | '_local_uuid', '_local_doc_count', '_local_last_update_seq'

Activity

  1. locked and limited conversation to collaborators on Apr 15, 2022
  2. converted this issue into a discussion #8484 on Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions