Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Frank I.2's avatar
Frank I.2
New member | Level 2
5 months ago

iOS File Provider: Never getting file updates

In my iOS app, I am using UIDocumentPickerViewController to pick a file from a Dropbox file provider. I am using startAccessingSecurityScopedResource on the url I receive and register an NSFilePresenter for this url to get change notifications. When I read the contents of the file, I am using file coordination.  Reading the initial content is working fine. When now however the file is change on some other machine, I expected a change notification from the file presenter and I should be able to read the fresh data from the updated file. This however not working. I am only getting fresh data, when I terminate my app and re-pick the file with the UIDocumentPickerViewController.

 Is this a fundamental limitation of the Dropbox file provider under iOS or is there some secret on how to get fresh data while the app is running?

 

4 Replies

  • Frank I.2's avatar
    Frank I.2
    New member | Level 2
    5 months ago

    Thank you for the information. I am looking forward to a solution.

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 months ago

    Hi Frank I.2​ 

    Our engineering team has confirmed that the issue you're experiencing appears to be related to a broader issue on Apple’s end. Our team has already filed a report with Apple and is actively working with them to resolve it.

    We’ll be sure to update you as soon as we have any new information to share.

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 months ago

    Hi Frank I.2​ 

    Thanks for the report. We're investigating this API issue. We'll follow up here once we have an update!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!