Forum Discussion

Tyhrstan B.1's avatar
Tyhrstan B.1
New member | Level 1
11 years ago

Drop-in Chooser on Windows Phone 8.1

Hi,

On the previous dropbox forum I posted an issue regarding the Dropbox Chooser on Windows Phone.
I stated that when using desktop mode on IE (windows phone) the dropbox chooser works as expected, and only on Mobile mode it did'nt work.

I received the following answer on this topic:

Hi There,
I just tested and can't seem to get the chooser to work in windows phone 8, even with desktop mode enabled. (Though desktop mode does bypass our check). The trouble seems to be in how the windows phone handles popups. Whereas all other browsers correctly open a popup when asked to do so, windows phone seems to interpret our attempt to open a popup as a redirect. Since the user has been redirected away from the page they were on, we can't return the chosen file info to the page in the same context the user last saw that page. I believe the behavior is correct as is.

-Chris

The probable reason might be that I was using Windows Phone 8.1.
You were right about the fact that Windows Phone IE doesn't open a popup in a new window cause this disturbes the flow and every page runs in an isolated mode (so they can't interact). But the 'pop-up' can still interact with the 'parent' page.

I've created a similar construction where a pop-up is used to authenticate a user in linkedin and when the user returns to the 'returnurl' I call window.opener.{function} to invoke a function on the parent page.

And this works on Windows Phone 8.1

17 Replies

Replies have been turned off for this discussion

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!