Skip to content

Allow developers to choose what SQLite implementation they use #3291

@HelenMamalakiV1

Description

@HelenMamalakiV1

The problem
We want to eliminate the SQLite dependency in Mapsui.Extentions which contains specific dependencies on SQLitePCLRaw.config.e_sqlite3 and SourceGear.sqlite3. It would be preferable if the library only depended on SQLitePCLRaw.core which would allow an application to bring in its own lower level sqlite-compatible native library.

In cases where we want to use an encrypted SQLite product such as SQLCipher - we want to avoid having separate implementations of SQLite as this can cause database corruption or worse bypassing encryption.

The proposed solution

  1. Remove SQLite dependency in SQLitePCLRaw.config.e_sqlite3 and SourceGear.sqlite3 - add a dependency on SQLitePCLRaw.Core.

  2. Update documentation to have integrators add the appropriate SQLitePCLRaw implementation to the Application project. This could be any SQLitePCLRaw-compatibile libraries, either SourceGear, SQLCipher, SQLite3mc, SEE, etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions