Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

feature request: add ability to specify location of database file (iOS) #120

@npomfret

Description

@npomfret

(note to self!)

I'm implementing an app extension which needs access to the database. Using an App Group it's possible to create a shared area of the file system that both the main app and the app extension can access.

Currently the cbl db is written to [CBLManager defaultDirectory], but I need to write to the path returned by [fileManager containerURLForSecurityApplicationGroupIdentifier:@"group.com.mygroupname"]

I think maybe changing initWithAuth to init and passing in a options object that can contain the auth params as well as others (such as the directory) would be a good way to go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions