Closed mfkrause closed 2 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
react-native-cloud-storage | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 27, 2024 9:47pm |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
v2 of CloudStorage will move to a new, improved API allowing for a ton of DX improvements and new features in the future.
Storage Providers
Currently (v1), iOS will automatically use iCloud as a storage provider while other platforms (Android, Web) will fallback to Google Drive. In v2, both of these will be defined as "Storage Providers" and separated from each other more clearly. In the short-term, this allows for Google Drive to be used on iOS, too. In the long-term, this modular set-up would enable additional storage providers such as Firebase to be added. This keeps a simple API with strong defaults (iCloud and Google Drive) while simultaneously allowing the developer to use other storage providers, if they so prefer.
This also has the benefit of cleaning up the core
CloudStorage
API, moving all of the configuration methods to a new configuration object directly passed to the storage provider.