NSUserDefaults
npm install react-native-user-defaults-testNSUserDefaults
``sh`
npm install react-native-user-defaults
`js
import { setItem, getItem } from "react-native-user-defaults";
// ...
Its used both for ios or android device
const result = setItem("key", "value");
return boolean;
const result = getItem("key");
return string;
``
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT