Skip to content

Using with encrypted db #187

@Saidjamol

Description

@Saidjamol

We are using drift with encrypted database. After adding amplitude sdk it replaces it with the unencrypted database. On the native side, SQLCipher and sqlite3 conflicting with each other.

Expected Behavior

Use SQLCipher

Current Behavior

Uses sqlite3

Possible Solution

If sqlite is statically included in pod, is it possible to replace it with regular sqlite3?

Steps to Reproduce

  1. add drift
  2. Follow instructions: https://drift.simonbinder.eu/docs/platforms/encryption/#encrypted-version-of-a-nativedatabase

Environment

  • SDK Version: 3.16.2
  • Flutter Version: 3.19.5
  • Device: iPhone 15
  • Device OS and Version: iOS 17.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions