Skip to content

kevinwaelkens/react-native-data-store

Repository files navigation

react-native-data-store

A module for data and file storage on Android.

Installation

yarn add @kevinwaelkens/react-native-data-store
npm install @kevinwaelkens/react-native-data-store

Usage

import { writeDataStoreValue } from 'react-native-data-store';

if (Platform.OS === 'android') {
  try {
    await writeDataStoreValue('deviceToken', 'Bearer: ey...');
  } catch (error) {
    console.error(error)
  }
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

A react-native module for data storage on Android.

Resources

License

Stars

Watchers

Forks

Packages

No packages published