feat(mobile): crypto + secret-store + session-storage adapters

This commit is contained in:
byGalax
2026-05-13 23:55:07 +02:00
parent a275703ba6
commit 7ac93a95e6
3 changed files with 55 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import AsyncStorage from '@react-native-async-storage/async-storage';
// supabase-js v2 accepts any object with async getItem / setItem /
// removeItem returning Promise<string | null> / Promise<void>. RN's
// AsyncStorage matches that shape for shape; we just re-export it
// under a name that signals intent at the call site.
export const sessionStorage = AsyncStorage;