We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Kimico T.
8 years agoExplorer | Level 4
[DBFILESUserAuthRoutes listFolderContinue:] returns deleted files - bug in Obj-C V2?
I'm calling to
[DBFILESUserAuthRoutes listFolder:recursive:includeMediaInfo:includeDeleted:includeHasExplicitSharedMembers]
and passing @(NO) to includeDeleted parameter. Everything works as expected.
However, when hasMore.boolValue is YES and I'm calling to
[ DBFILESUserAuthRoutes listFolderContinue: ]
there are cases where the result contains deleted files. (even though includeDeleted in the listFolder method clearly indicates not to include ones)
It seems like a bug. Can you please confirm?
- This sounds like the expected behavior. The includeDeleted parameter controls whether or not listFolder[Continue] will return files that were already deleted at the time of the initial call.
Regardless of includeDeleted though, listFolderContinue will always returns newly deleted files. I.e., in order for your app to get an accurate state of the contents of the folder over time, it needs to be informed of items that were deleted after the initial call.
- Greg-DBDropbox StaffThis sounds like the expected behavior. The includeDeleted parameter controls whether or not listFolder[Continue] will return files that were already deleted at the time of the initial call.
Regardless of includeDeleted though, listFolderContinue will always returns newly deleted files. I.e., in order for your app to get an accurate state of the contents of the folder over time, it needs to be informed of items that were deleted after the initial call.- Kimico T.Explorer | Level 4
Got it. Thanks for the clarification!
You should consider documening this behavior as this might confuse many users. (which is, asking the SDK not to include deleted files yet deleted files indeed arrive...)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 41 minutes agoIf 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!