TKey React Native Storage Module
npm install @tkey/react-native-storage 
The tKey React Native Storage Module helps you store and recall key shares in the react-native secure storage. This module is the part of the tKey SDK.
``shell`
npm install --save @tkey/react-native-storage
`tsx`
import { ReactNativeStorageModule } from "@tkey/react-native-storage";
import EncryptedStorage from "react-native-encrypted-storage";
const reactNativeStorageModule = new ReactNativeStorageModule(EncryptedStorage);
`tsx`
import { ReactNativeStorageModule } from "@tkey/react-native-storage";
import * as SecureStore from "expo-secure-store";
const reactNativeStorageModule = new ReactNativeStorageModule(SecureStore);
`tsx`
const share = await(tKeyInstance.modules.reactNativeStorage as ReactNativeStorageModule).getStoreFromReactNativeStorage();
`tsx`
const generateShareResult = await tKeyInstance.generateNewShare();
const share = await tKeyInstance.outputShareStore(generateShareResult.newShareIndex);
await(tKeyInstance.modules.reactNativeStorage as ReactNativeStorageModule).storeDeviceShare(share);
- This package requires a peer dependency of @babel/runtime`
- Node 18+