UNPKG

@neverdull-agency/expo-unlimited-secure-store

Version:

An 'unlimited' secure store engine for expo projects, also compatible with redux-persist. (Expo's SecureStore was limited to 2KB in SDK v33)

16 lines (12 loc) 509 B
declare module "@neverdull-agency/expo-unlimited-secure-store" { export interface Options { replacementCharacter?: string; replacer: (key: string, replacementCharacter: string) => string; } export interface ExpoUnlimitedSecureStore { setItem(key: string, value: string): Promise<void>; getItem(key: string): Promise<string | null>; removeItem(key: string): Promise<void>; } export default function(options?: Options): ExpoUnlimitedSecureStore; }