Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
Sk8St4r
9 years agoHelpful | Level 5
Download works on iPhone but not on iPad
Got weird behaviour when downloading file. Everything works as expected on iPhone but when building for iPad download "hangs". As I do not really get a response I cannot give the error message.
[[client.filesRoutes downloadData:fromPathStr] response:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData *fileData) { NSLog(@"Reached on iPhone but not on iPad"); }];
just updated pods to last version of ObjectiveDropboxOfficial (3.0.15)...probem persists
Q: "To clarify though, are you saying that code execution never progresses past the downloadData call, or that the response block is never called?"
A: The response block was never called.
Seems like pod was not updating correctly. Deleted and installed again. Now i am on 3.1.0 and after reconstructing linking process and renaming types everything seems to work now!
Thanks for the hint.
2 Replies
- Greg-DB9 years ago
Dropbox Community Moderator
The latest release is actually 3.1.0, not 3.0.15. Please update to that, as there have been some fixes that may be relevant here. (Also, are you sure you updated to 3.0.15? The 'response' method was renamed to 'setResponseBlock' in 3.0.0.)
If the issue persists with 3.1.0, we can look into this with you. To clarify though, are you saying that code execution never progresses past the downloadData call, or that the response block is never called? (The actual network call and response block occur asynchronously.) - Sk8St4r9 years agoHelpful | Level 5
Q: "To clarify though, are you saying that code execution never progresses past the downloadData call, or that the response block is never called?"
A: The response block was never called.
Seems like pod was not updating correctly. Deleted and installed again. Now i am on 3.1.0 and after reconstructing linking process and renaming types everything seems to work now!
Thanks for the hint.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 9 hours ago
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 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!