We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

BradHenderson's avatar
BradHenderson
Explorer | Level 4
10 months ago

How to force the Dropbox app to upload changes programatically

Hello, I am developing an app that will allow an operator to record data at a customers site that may or may not have mobile network coverage.  When the operator starts the app it opens the text fi...
  • Здравко's avatar
    Здравко
    10 months ago

    BradHenderson wrote:

    ...

    That works also, however after saving the text file from my app the Dropbox app is not triggered to sync with the cloud.  If I go into the Dropbox app, open the Offline folder and open the text file and save it by tapping on the disk icon then it is immediately synced with the cloud.  What I was hoping to do was trigger that sync from my app without the employee having to access and open the text file within the Dropbox app. 

    If this is not possible I guess I will have to look at communicated with the cloud directly using the API.

    ...


    Hi BradHenderson,

    The described by you is expected behavior, unfortunately. Dropbox application for mobile devices (including for Android) is designed not to sync but to let user access the content. When particular file/folder is selected to be offline, then something like sync is performed, but unidirectional (only from the cloud to the device, not reverse). Even more, you have some old application version (probably 202.2 or so, or earlier). In recent versions direct access to offline file/folder is forbidden, so keep your old version and don't update it - you'll lose even the unidirectional sync. That's why Nancy cannot understand how is it possible to open such a file. 😉

    And yes, Dropbox API integration will let you do more things not restricted to offline files only while working on your application only.

    Good luck.

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

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!