Skip to content

Access a storage ID #941

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?

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