rnr-starter
Version:
A comprehensive React Native Expo boilerplate with 50+ modern UI components, dark/light themes, i18n, state management, and production-ready architecture
21 lines (17 loc) • 477 B
text/typescript
// Storage keys constants
export const STORAGE_KEYS = {
// User related
USER_TOKEN: 'user_token',
USER_PROFILE: 'user_profile',
USER_PREFERENCES: 'user_preferences',
// App settings
THEME: 'theme',
LANGUAGE: 'language',
APP_THEME: 'app_theme',
APP_LANGUAGE: 'app_language',
FIRST_LAUNCH: 'first_launch',
// Cache
API_CACHE: 'api_cache',
LAST_SYNC: 'last_sync',
} as const;
export type StorageKey = (typeof STORAGE_KEYS)[keyof typeof STORAGE_KEYS];