Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at eli/upload-fixes 17 lines 476 B view raw
1import Storage from "expo-sqlite/kv-store"; 2import { AQStorage } from "./storage.shared"; 3 4export default class NativeStorage implements AQStorage { 5 async getItem(key: string): Promise<string | null> { 6 const value = await Storage.getItem(key); 7 return value ?? null; 8 } 9 10 async setItem(key: string, value: string): Promise<void> { 11 await Storage.setItem(key, value); 12 } 13 14 async removeItem(key: string): Promise<void> { 15 await Storage.removeItem(key); 16 } 17}