Skip to content

Two instances of FlutterSecureStorage #982

@martinfilipekcz

Description

@martinfilipekcz

Hello,

I need to have two instances of FlutterSecureStorage in my application. When I was trying Android I discovered, then even when I specify different sharedPreferencesName it only writes/reads from last inicialized file.

Is there any workaround for that or it's not possible in this package? I think that reason for this behavior is in FlutterSecureStoragePlugin where is only one instance of the FlutterSecureStorage secureStorage.

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