mancala/apps/mobile/src/storage/index.ts
Halit Aksoy bb1c750080 feat(mobile): upgrade react native version
chore(mobile): update version to 0.5.0
2025-11-17 00:25:41 +03:00

12 lines
260 B
TypeScript

import {Storage} from '@mancala/core';
import {createMMKV} from 'react-native-mmkv';
export const storage = createMMKV();
export class LocalStorage implements Storage {
getString(key: string): string | undefined {
return storage.getString(key);
}
}