We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
jelteliekens
8 years agoExplorer | Level 3
iOS11 UIDocumentPickerViewController does nothing after selecting an attachement
We're currenty testing an app for iOS11 support and bumped into a problem with the new UIDocumentPickerViewController. An action opens the new UIDocumentPickerViewController, iCloud Drive is shown by...
- 8 years agoHi jelteliekens,
This will be fixed/implemented once iOS 11 is official released.
Fabiob65
New member | Level 2
J have the same problem with mail on ios11. J cannot attach file from dropbox.
Maple
8 years agoDropbox Staff
Hi all,
64.3 is out in the app store. Please upgrade to it and try again.
64.3 is out in the app store. Please upgrade to it and try again.
- CC_JF8 years agoDropbox Staff
Hey folks! iOS engineer @ Dropbox here.
Please do update to the 64.3 version that is in the AppStore -- it has the full iOS 11 experience and should alleviate the issues you're seeing. If you have trouble seeing your files, make sure you launch the main Dropbox app once and ensure you're logged in, and you should see your Dropbox in Files. If not, try force killing and relaunching Files. We're pretty certain this is rare edge-case and will continue to make this better in future releases!
To domhof:
I'm sorry this might be a bit off-topic: Have you found a fix for this in your UIDocumentPickerExtensionViewController? I'm updating an app which has a working UIDocumentPickerExtensionViewController for iOS 10 but in iOS 11 I get the exact same error message in the client-app's console.
There is an issue in iOS 11.0 that is caused by an mismatch in the Document Picker's Info.plist. If you do not have a File Provider Extension, ensure that you only support the Import and ExportToService types, as reporting Open or Move without an associated File Provider Extension will cause your extension to behave incorrectly. It's possible that this will be fixed in a future iOS update -- but consider just removing those keys if you have them. Hope this helps!
Thanks,
Jeff
- nick638 years agoHelpful | Level 6Hi,
I just checked the Apple Store. No updates.
I am in SEA, and use the Australian Store.
Please advise. - DaveZ8 years agoExplorer | Level 4
Hi Maple
Just downloaded the update (I'm based in Ireland), everything works as expected, import fixed.
Thank you!
David
- Maple8 years agoDropbox StaffHi nick63,
The update propagating to other app stores may take a while but shouldn't be more than a few hours. - SvenT8 years agoNew member | Level 2
Hello,
Grateful for this thread here.
Thanks for the new update today. I had noticed Dropbox export/import stopped working with iOS 11 using UIDocumentPickerController, due to the “0 urls” issue. With 64.3 it works again.
Had to reinstall the Dropbox app though, just updating it wasn’t enough.
Best,
Sven
- JustinJ8 years agoHelpful | Level 5
I downloaded the update this evening. While it did fix the picker issue I had to turn off my passcode for my Dropbox app. When trying to open my DP folder in Files app, there is a message to authenticate by opening the DB app to do so. Turns out the passcode has to be disabled. This is pretty ridiculous. To use Files one has to disable protection for the DB app.
Consider this: to register for this forum one must sign in the enter a 6 digit code. Seems logical but extreme given now that one has to disable protection for the DB app to use Files. Makes no sense.
- JustinJ8 years agoHelpful | Level 5
Sorry, neglected to attach the screenshot from Files app.
- kymatica8 years agoNew member | Level 2
@CC_JF
I had the same problem (I'm the developer of AudioShare), however I already had only Import and ExportToService types in my Document Picker's Info.plist.
Instead I had to implement a new File Provider extension, and this kind of works now. The user can interact with all my documents as expected in the Files app. However, I still get the same behavior when trying to import into an app! (no URLs passed, doc picker cancelled). Any special magic you had to do? Please let me know! (mail me at info kymatica com if this is too off topic here) - domhof8 years agoExplorer | Level 3
@Maple @CC_JF @kymatica
Thanks for your help! I can confirm that in iOS 11 UIDocumentPickerExtensionViewController only works when a NSFileProviderExtension is present (at least I didn't find any other way, even with only UIDocumentPickerModeImport).
Moreover the Files app seems to ignore my UIDocumentPickerModes setting in the UIDocumentPickerExtensionViewController's Info.plist! Even if I remove the setting completly, the Files app still shows my UIDocumentPickerExtensionViewController. While at the same time, e.g. in Whatsapp the UIDocumentPickerExtensionViewController, correctly, doesn't show up anymore. The Files app then opens it in UIDocumentPickerModeOpen mode. I can even load and edit (!) the files (photos).
I need to find a way to keep the Files app from opening my UIDocumentPickerExtensionViewController in open-mode despite the mode being not supported. The files may not be edited. Alternatively the edited version should be stored as a new file.
I think this might even be the root cause of the problem. That the Files App always opens the UIDocumentPickerExtensionViewController in open-mode and therefore a FileProvider is needed, even the Info.plist states only import as supported mode.
@kymatica I'll write you via mail. I guess this now goes into too much detail for this forum. :)
- Maple8 years agoDropbox StaffHi JustinJ,
Please see this thread about passcode incompatibility: https://www.dropboxforum.com/t5/Mobile/ios-11-files-not-open/m-p/243316#M239
The team is investigating a solution for this.
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
Need more support
If you need more help you can view your support options (expected response time for an email or 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!