Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I'm using the iOS 8 Document Picker in my iOS app.
UIDocumentMenuViewController
I pass in an array of supported filetypes via the initializer:
-[UIDocumentMenuViewController initWithDocumentTypes:inMode:]
All the other document pickers filter out unspecified document types and only show the ones specified by the Document Types parameter. The following pickers have been tested and work according to the API documentation:
iCloud & Google Drive
However, the Dropbox picker shows all files no matter what supported types I specify.
Thanks.
Doug Hill
doug.hill@chartcube.com
http://chartcube.com/
Apologies for the delay. I'm looking into this and will follow up once I have some more information.
I also have this problem. I need to show the user ONLY .zip files and I'm getting all files instead. It's like the document types being sent to the UIDocumentMenuViewController aren't being passed along to the UIDocumentPickerViewController after you select a service.
An update would be great to solve this problem.
Quick update, we've confirmed this is a bug in the app. I don't have a timeline for a fix right now though.
Thanks for the confirmation. So when the app gets updated then this will just work for my customers? In the mean time I've put in a file type check that I do after the user has downloaded the file to tell them if it's the right file type or not. Not very elegant, but it works.
Further to this, is it possible to restrict the Dropbox folder that's initially displayed via the UIDocumentPickerViewController? Like say if I want to show the contents of a subfolder instead of the root folder.
I believe once an updated version of the Dropbox app with a fix for this issue is released, this will work as expected without any update required from the calling side.
Also, I don't think it's possible to specify the folder to display, as I don't see a way to specify this in UIDocumentMenuViewController itself.
Thanks for working on this - I'm also getting this issue. I look forward to a fix!
come on, 4 months later, still no fix?
Hi all, thanks for your patience and apologies for the lack of updates on this thread. I just checked on this and I believe this should be fixed in the next version of the iOS app.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!