martinkasa / capacitor-secure-storage-plugin

Capacitor plugin for storing string values securly on iOS and Android.
MIT License
152 stars 53 forks source link

Please add the ability to specify the serviceName #51

Open kiwi-josh opened 2 years ago

kiwi-josh commented 2 years ago

I have an existing cordova app that we are migrating to capacitor.

The previously cordova plugin we were using allowed the serviceName to be specified when reading/writing data.

However this plugin looks like the serviceName is hardcoded to cap_sec here, which means we cannot migrate to this plugin.

The ideal outcome would be to allow the serviceName optionally be passed into the methods, and to fallback to cap_sec if its not supplied (to be backwards compatible).

kiwi-josh commented 11 months ago

PR to resolve this: https://github.com/martinkasa/capacitor-secure-storage-plugin/pull/82