react-native-shared-preferences icon indicating copy to clipboard operation
react-native-shared-preferences copied to clipboard

Android's Native key value storage system in React Native

Results 8 react-native-shared-preferences issues
Sort by recently updated
recently updated
newest added

Hi, How to get data from Android Java native code?

I had different named sharedPreferences for my Android app: "myPrefs", "userPrefs", etc. When I used this library to get sharedPreferences from "myPrefs", I called: `SharedPreferences.setName('myPrefs');` Using this, I was able...

Added the ability to change the name of the file whenever we want. Useful when you have multiple shared preferences files.

- subscribe to a key from native/js side (NotificationCenter in iOS and LocalBroatcastManager in Android, EventEmitter for JS) - hooks - define a built-in method to access keys from the...

Hi Sriraman, Thank you for creating this module. I have a quick question, currently the allowed format for "Value" parameter is `String` only. I recommend adding multiple methods to support...

Feature Request

I got this for getAll() function. `Attempt to invoke virtual method 'java.util.Map in.sriraman.sharedpreferences.SharedHandler.getAllSharedData()' on a null object reference`

I have used the package and stored my login value, when i tested in debug time in simulator its working. But when i build apk and install in a device...