Many users still manage their own credentials when setting up a new Android device. This manual process can become challenging and often results in a poor user experience. The Block Store API, a library powered by Google Play services, looks to solve this by providing a way for apps to save user credentials without the complexity or security risk associated with saving user passwords.
Read more about it here.
yarn add react-native-block-store
import BlockStore from 'react-native-block-store';
// ...
const key = 'key1';
const value = 'value1';
const success = await BlockStore.save(key, value);
const result = await BlockStore.retrieve(key);
const isRemoved = await BlockStore.remove(key);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT