0.2.1 • Published 2 years ago
react-native-user-defaults-test v0.2.1
react-native-user-defaults
NSUserDefaults
Installation
npm install react-native-user-defaults
Usage
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;
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT