Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Ravi k.9's avatar
Ravi k.9
New member | Level 1
10 years ago

Dropbox Sync API

When I updated a file from a device app which is registered with same app key then the same file from one other device not get notified that it is changed but when i change the same file from Dropbox it self it get notified. Below is my code

[[DBFilesystem sharedFilesystem] addObserver:self forPathAndChildren:pathDB block:^(){
        DBError *error= nil;

        NSLog(@"File(s) %@ changed!",pathDB);
 }];

Please help me

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    There are a few things to check on first in cases like this:

    • Are both devices linked to the same account? E.g., check DBAccount.userId
    • Do you see the change from the first device on the Dropbox web site? Changes go to the Dropbox servers first in order to get propagated to other devices. So, for example, if the device where the change is made is offline, the change can't get sent to the servers or other devices.
    • Are you getting any error messages in the log on either device?

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!