{"library":"react-native-shared-preferences","type":"library","category":null,"description":"A React Native bridge to Android's native SharedPreferences key-value storage. Version 1.0.2 is stable but unmaintained since 2018. It provides synchronous and callback-based get/set operations, with support for getting multiple items and all keys. This library requires manual linking and is intended for Android only, unlike cross-platform alternatives like @react-native-async-storage/async-storage. It is suitable for legacy RN projects (<0.60) that do not use autolinking.","language":"javascript","status":"deprecated","version":"1.0.2","tags":["javascript","React","Native","Shared","Preference","Android","react-component","react-native"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-native-shared-preferences","imports":["const SharedPreferences = require('react-native-shared-preferences');","SharedPreferences.setName('myPrefs');","SharedPreferences.setItem('key', 'value');"]},{"cmd":"yarn add react-native-shared-preferences","imports":[]},{"cmd":"pnpm add react-native-shared-preferences","imports":[]}],"homepage":"https://github.com/sriraman/react-native-shared-preferences#readme","github":"ssh://git@github.com/sriraman/react-native-shared-preferences","docs":null,"changelog":null,"pypi":null,"npm":"react-native-shared-preferences","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}