Skip to content

persistence incompatible with sqlcipher #2288

Open
@dballance

Description

@dballance

Which packages are you using?

stream_chat_persistance

On what platforms did you experience the issue?

iOS, Android

What version are you using?

latest

What happened?

We use SQLCipher to encrypt our local SQLite instance.

Because persistence depends on sqlite3_flutter_libs - you can't include this in any app that uses sqlcipher_flutter_libs.

I think the way to fix this is to split out a package that doesn't directly include that package, and allow consumers to provider either sqlite3_flutter_libs or sqlcipher_flutter_libs.

Steps to reproduce

Not relevant

Supporting info to reproduce

  1. Create a package that depends on sqlcipher_flutter_libs
  2. add stream_chat_persistence lib
  3. Attempt build

Relevant log output

Not relevant

Flutter analyze output

Not relevant

Flutter doctor output

Not relevant

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions