Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudStorage v2 🎉 #32

Merged
merged 36 commits into from
Sep 27, 2024
Merged

CloudStorage v2 🎉 #32

merged 36 commits into from
Sep 27, 2024

Conversation

mfkrause
Copy link
Contributor

@mfkrause mfkrause commented Apr 25, 2024

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.

Copy link

vercel bot commented Apr 25, 2024

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

Copy link

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.

@github-actions github-actions bot added the stale label Jun 25, 2024
@github-actions github-actions bot closed this Jul 2, 2024
@mfkrause mfkrause reopened this Sep 26, 2024
@mfkrause mfkrause merged commit 0d77257 into master Sep 27, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant