A module for data and file storage on Android.
yarn add @kevinwaelkens/react-native-data-store
npm install @kevinwaelkens/react-native-data-store
import { writeDataStoreValue } from 'react-native-data-store';
if (Platform.OS === 'android') {
try {
await writeDataStoreValue('deviceToken', 'Bearer: ey...');
} catch (error) {
console.error(error)
}
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library