Reputation: 7
I am using Core Api from drop box to upload and download file. The upload and download take place from my device. So the image is stored locally and then uploaded. And when downloaded they store on device and I pull them from their locations.
I am able to access the metaData dropBox provides via the restClient LoadedMetaData method. However that method doesn't provide support for the GPS. In this blog Post from dropBox https://www.dropbox.com/developers/blog/86/new-additional-information-about-photo-and-video-files
it has an update to access this. But it is done using a GET HTTP request. Can I do this from inside xcode? I tried accessing the request directly and it gives an error of "NO AUTH" so I cant grab the JSON file. But we should already be authorized from signing in directly with the api.
Any help would be so appreciated.
Upvotes: 0
Views: 263
Reputation: 60143
I believe that in the Core SDK, you can just call [client loadMetadata:path withParams:@{@"include_media_info": @"true"}];
(Caveat: I haven't tested it myself. Please let me know if it works.)
Upvotes: 0