Lines Matching refs:storage
150 const storage = getStorage();
151 const publicRef = storageRef(storage, 'public');
163 const storage = getStorage();
164 const publicRef = storageRef(storage, 'public');
207 function getReactNativePersistence(storage) { argument
217 if (!storage) {
220 await storage.setItem(STORAGE_AVAILABLE_KEY, '1');
221 await storage.removeItem(STORAGE_AVAILABLE_KEY);
234 return storage.setItem(key, JSON.stringify(value));
243 const json = await storage.getItem(key);
252 return storage.removeItem(key);