Setting SHARED_PREFERENCES_NAME in Secure Store

Looking at the implementation of SecureStoreModule.java, it appears that the preferences file name cannot be set:

Any chance this might change, and that we could set pref file name as keychainService option on iOS implementation?

Use case: need to access legacy shared preferences from previous native app version.

Thanks!

I have this exact same issue. I hope that this can become a parameter instead of a hard-coded string’

1 Like

I moved on using https://github.com/mCodex/react-native-sensitive-info, which supports such options

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.