Skip to content

PouchDB ^6.4.3 - Database location or iosDatabaseLocation setting is now mandatory in openDatabase call #87

@CarlosAyala

Description

@CarlosAyala

Hi.

I have this issue when run this library in Android

Database location or iosDatabaseLocation setting is now mandatory in openDatabase call

My code:

this._DB = new PouchDB('curriculum.db', { adapter: 'cordova-sqlite' });

If I change my code for fix this issue to

this._DB = new PouchDB('curriculum.db', { adapter: 'cordova-sqlite', iosDatabaseLocation: 'Library', androidDatabaseImplementation: 2 });
the next error is shown

{
adapter: string,
iosDatabaseLocation: string,
androidDatabaseImplementation: number
} is not assignable to parameter of type 'DatabaseConfiguration'

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