Hi
My iOS apps allow users to interact with their data objects and share them in several different ways via UIActivityItemProvider objects in a UIActivityViewController. These include text strings for SMS, email and social sharing; XML and tab delimited text for spreadsheet applications; and NSURLs for “Open In” functionality and uploading to Dropbox and iCloud.
In iOS 11, I’ve noticed that whenever a user taps the “Copy to Dropbox” icon provided by iOS, the file is never processed by the Dropbox app. My UIActivityItemProvider object create the NSURL as expected, but the Dropbox app never uploads it. If the user chooses “Save to Files”, and selects “Dropbox”, the file is uploaded as expected.
Also, in other areas of my apps, I allow users to create a PDF. In those instances, I use a UIDocumentInteractionController which also provides an NSURL of the file. If a user chooses “Copy to Dropbox” in those situations, all is well and the file is correctly handled by the Dropbox app.
So it seems that the Dropbox app is ignoring NSURLs supplied via a UIActivityViewController but correctly processing NSURLs supplied via a UIDocumentInteractionController.
How can I regain the former NSURL functionality that Dropbox used to provide with a UIActivityViewContoller? Or, is this a bug in the current Dropbox app?
Thanks
Danny