fs-like API
Read, write, stat, and list files with an API that follows Node's fs conventions.
React Native Cloud Storage
Use iCloud and Google Drive as file storage in your React Native app, with a single fs-like API, React hooks, and an Expo config plugin.
import { CloudStorage } from 'react-native-cloud-storage';// Write a file to the cloud...await CloudStorage.writeFile('/data.json', data.toString());// ... and read it back!const data = await CloudStorage.readFile('/data.json');fs-like API
Read, write, stat, and list files with an API that follows Node's fs conventions.
iCloud & Google Drive
One API, two providers. Use the default platform backend, or pick your own.
React hooks
useCloudFile and useIsCloudAvailable keep your UI in sync with cloud state.
Expo config plugin
Configure native capabilities automatically in Expo projects.
iCloud (iOS only)
Backed by a native CloudKit module.
Google Drive
Backed by the Drive REST API using an access token.
Install the library, follow the platform setup, and start reading and writing cloud files in minutes.
Read the docs