feat(mobile): crypto + secret-store + session-storage adapters
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user