Comments
-
The Dropbox JavaScript library checks a few things (e.g., window and navigator) to make sure it's in an environment where it can work correctly. If it doesn't find those things it throws that error to let you know. Unfortunately I don't think there's a good solution here, as the library wasn't built to support running in a…
-
This should be addressed in release v1.3.14: https://www.dropbox.com/developers-v1/core/sdks/ios
-
Thanks! I'm adding that to the report as well.
-
Your reading looks right to me, so I'll report this to the team to check and fix it.
-
Can you post some sample code, sample strings, and resulting output/any exceptions so we can take a look? Thanks in advance!
-
That's one way, or you can use the createTemporaryDirectLink method to get a temporary link to the file contents without downloading the contents to your server itself: http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_createTemporaryDirectLink
-
Either full or file type access would allow your app access to files outside an app folder, so whichever you prefer.
-
I'd need to see the error or output to say with more confidence, but it sounds like your app is registered for a more restrictive permission than you need. (E.g., maybe you registered for "app folder" when you need to access other files outside the app folder.) You can find more information on the different app permissions…
-
What making an API call, e.g., using getFile, you can specify the full path to the desired file. E.g., from the PHP Core SDK tutorial, I might change the getFile line to: $fileMetadata = $dbxClient->getFile("/Form1/image.jpg", $f); In this case, I'm downloading image.jpg from the Form1 folder.
-
I'm not too familiar with the Wufoo Dropbox integration itself, but my understanding is that it accepts files uploaded to your form and puts them in your Dropbox. It sounds like you then want to get those files from your Dropbox and display them on your site in a mosaic. This would certainly be possible using the Core API,…
-
Do you mean you want to trigger some action in your app when the user has finished authorizing the app to access their account? Whether or not the official Dropbox app is installed, you should trigger this from application: openURL: in your app delegate, as shown in the tutorial:…
-
The app authorization flow will happen in your app if the official Dropbox app isn't installed. If it is installed, the user will leave your app and process the authorization in the official app. You, as the developer, don't have to do anything differently in either case.
-
To use the Dropbox Core API, you need to be able to make HTTPS connections to (depending on which API calls you're making): * api.dropbox.com * api-content.dropbox.com * api-notify.dropbox.com For downloading files in particular, the relevant one is api-content.dropbox.com . Are you able to access that from the server?…
-
Can you post your actual code, including the real values for these variables, and the output? It's ****** to follow using the example values. Also, there's some sample code for this in the tutorial: https://www.dropbox.com/developers/core/start/ios#uploading
-
Unfortunately, we don't have a system for setting up test accounts for developers for the Dropbox for Business API right now, but I'll be sure to pass this along as a request. That being the case, the only real option currently is to use trials like you mentioned. Apologies I don't have a better solution right now!
-
You're correct, unfortunately the Dropbox API doesn't currently offer a way to query revisions by date, or retrieve more than 1,000 revisions, but I'll be sure to pass this along as feedback.
-
I suppose that's possible. Trying different network connections/devices may help confirm or rule that out. Also, you may want to try simplifying things, e.g., remove the part where you use a newly encoded file and just try an existing local video file, to try to narrow this down.
-
Getting it to work by adding the breakpoint does seem strange, though perhaps that's causing a timing change. The error code does indicate a network issue though. Are you running multiple of these simultaneously? Perhaps the delay from the breakpoint is allowing your network connection to clear up. In any case, can you try…
-
Per the documentation, NSURLErrorDomain Code=-1005 is: NSURLErrorNetworkConnectionLost = -1005, Is the network connection on that device working properly? Is there anything on the network connection for that device that may be interfering? In any case, it may be good to implement some automatic retrying.
-
Hi "testaccountprimary", this is an old thread about the Sync SDK in particular. It's unclear if that's what you're referring to, so please open a new thread with additional details so we can help you without spamming the other people on this thread. Thanks!
-
Unfortunately I don't have an update on if or when we'll be able to improve this on our side. Sorry I don't have anything better to share!
-
The main recommendation is just to operate in a case insensitive manner to match the Dropbox API. Also, whenever possible, just use the SDK for your file operations, as opposed to trying to sync with the local filesystem manually. The SDK caches files you open for you automatically anyway. Regarding the technical details,…
-
Thanks for the additional feedback Brendan. I'm sending this along to the team as a request to improve this.
-
Dropbox and the API itself are case insensitive, so in some cases you will see this behavior. (We realize this is non-ideal of course and are looking into ways to improve.) That said, the best solution here is to do a case-insensitive search in your code too. Also, the last path component will always be the expected case…
-
Great, I'm glad to hear you were able to sort this out.
-
Ah, I just noticed you did mention here that you cleared the device in this post. Can you add some logging to check the destination path explicitly and post the output then?
-
[ Cross-linking for reference: https://stackoverflow.com/questions/30313546/dropbox-sdk-for-ios-works-on-simulator-not-on-actual-device ] I posted an answer on your StackOverflow question a little while ago. Can you check if that was the issue?
-
Thanks for the information!
-
I can't make any promises, but I'll pass this along as a request. It looks like you should be able to enable the legacy library though, per the documentation: https://developer.android.com/preview/behavior-changes.html#behavior-apache-http-client
-
Sure, this creates a shared link for a file and also supplies a requested visibility and expiration in the settings: import datetime import dropbox dbx = dropbox.Dropbox("<ACCESS_TOKEN>") expires = datetime.datetime.now() + datetime.timedelta(days=30) requested_visibility = dropbox.sharing.RequestedVisibility.team_only…