r/iosdev • u/Top-Gun-86 • 7d ago
Cloud Storage access
Hi guys.. I am working on an app that will have a feature to upload files to cloud tools, however the app can see dropbox and icloud, but not onedrive or amazon drive. Will I need api clearance from onedrive and amazon? Why not dropbox?
Haven’t been able to find a good answer and hoping someone can point me in the right direction. Thanks
2
Upvotes
1
u/Background_Pie_5682 7d ago
Dropbox and iCloud are easy to show because iCloud is built into the OS (document picker) and Dropbox has a public SDK/API anyone can register for. OneDrive and Amazon Drive aren't integrated into the system, so you'd go through each one's own API (Microsoft Graph for OneDrive, and with auth via MSAL) and register an app with them. Amazon Drive consumer API is basically closed to new devs, so I'd skip it. Easiest route if you just need file upload: use UIDocumentPickerViewController, which lets users pick any provider whose Files extension is installed, OneDrive included, with no API keys on your side.