Skip to content

Exclude DB from backup/icloud (iOS) #103

Open
@dusiema

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?

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