Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Gaurav C.3's avatar
Gaurav C.3
New member | Level 1
11 years ago

Cordova/Phonegap plugin for Dropbox Chooser

Hi,

I am building a cordova/phonegap app which will let users choose the files in their dropbox. But the problem is that I have to open the chooser in InAppBrowser and the button click opens a popup which takes focus. this results in dropbox not able to communicate with my app as the page which opened chooser no longer exists.

Has anyone created a plugin for this or is there a better way to do it?

2 Replies

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

    (Apologies for the delay. For future reference, be sure to post anything about the Dropbox API in the "API Development" forum so we'll see it quickly.)

    Unfortunately we don't have a good solution for using the Chooser when cross-window communication isn't possible, but I'll be sure to pass this along as feedback.

    Maybe someone on the forum has developed something, but otherwise you'll probably need to use the Core API to develop your integration instead.

  • Gaurav C.3's avatar
    Gaurav C.3
    New member | Level 1
    11 years ago

    I was able to find out about an existing plugin but it needed tweaking. I guess you guys should seriously think about creating an official plugin for cordova/phonegap as it will make dropbox more appealing to hybrid developers as more and more developers are creating hybrid apps. And with dropbox developers, who are super stars, it will be a matter of few days. Do pass on my suggestion.

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!