Skip to content

Exclude DB from backup/icloud (iOS) #103

Description

@dusiema

I use sqldelight in a KMM app project. I store sensitive cached data, mostly in the form of base64 encoded images as strings.
It's only meant to be used as a cache when there is no network.

I want to avoid the underlying SQLite db from being included in an iOS backup or iCloud sync/backup.

Theres is a key that one can set for this: NSURLIsExcludedFromBackupKey.

How can I set this on the SQLite DB for the native iOS part of the app?

Activity

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