Skip to content

Access a storage ID #941

@jensneuber

Description

@jensneuber

In v3 it was possible to access the id of a storage, as in :

const storage = new MMKV({id: 'someID'})

storage.id  => 'simeID'

Is there any possibility to do so in v4? Since the id property is not present anymore.
Also, as far as I can tell, the name prop of a storage is always "MMKV". Maybe the id could be part of the name?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions