tooot/src/utils/storage/index.ts

11 lines
341 B
TypeScript
Raw Normal View History

import createSecureStore from '@neverdull-agency/expo-unlimited-secure-store'
import { MMKV } from 'react-native-mmkv'
export const storage: { global: MMKV; account?: MMKV } = { global: new MMKV(), account: undefined }
export const secureStorage = createSecureStore()
2023-02-08 19:22:20 +01:00
export const GLOBAL: { connect?: boolean } = {
connect: undefined
}