<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Chooser &amp;quot;Unable to Communicate With Parent Window&amp;quot; When Website Run as iOS Desktop Shortcut in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128428#M3729</link>
    <description>&lt;P&gt;I have a website I am developing which includes dropbox "chooser" functionality.  Everything was working great in all of my testing so far, but when I created a shortcut to the website on the iOS desktop, dropbox chooser broke.  The behavior I'm seeing now is when I click the button which invokes chooser, I immediately see the "unable to communicate with parent window" message at the login screen.  It allows me to log in and navigate to the file I wish to select, but when I actually try to select it, I again see the "unable to communicate with parent window" message, and I'm unable to continue.&lt;/P&gt;

&lt;P&gt;Because the dropbox functionality works fine when the website is viewed in the "normal" Safari browser, but not when Safari is launched via the iOS desktop shortcut, I'm thinking this is an issue which you need to look into, rather than something I messed up on my end.  Here's the code I have in my web page, which is pretty vanilla:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="MYKEYHERE"&amp;gt;&amp;lt;/script&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On my button I have the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;function startDropboxProcess() {
  Dropbox.choose({
    success: function(files) {
      // Do something with the returned file
    },
     cancel: function() {
      hidePleaseWait();
    },
     linkType: "direct",
     multiselect: false,
     extensions: ['.pdf'],
  });
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The iPad tells me it is running iOS 8.3.  I can't seem to find what version of Safari it's using.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:42:17 GMT</pubDate>
    <dc:creator>Russ K.1</dc:creator>
    <dc:date>2019-05-29T09:42:17Z</dc:date>
    <item>
      <title>Chooser "Unable to Communicate With Parent Window" When Website Run as iOS Desktop Shortcut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128428#M3729</link>
      <description>&lt;P&gt;I have a website I am developing which includes dropbox "chooser" functionality.  Everything was working great in all of my testing so far, but when I created a shortcut to the website on the iOS desktop, dropbox chooser broke.  The behavior I'm seeing now is when I click the button which invokes chooser, I immediately see the "unable to communicate with parent window" message at the login screen.  It allows me to log in and navigate to the file I wish to select, but when I actually try to select it, I again see the "unable to communicate with parent window" message, and I'm unable to continue.&lt;/P&gt;

&lt;P&gt;Because the dropbox functionality works fine when the website is viewed in the "normal" Safari browser, but not when Safari is launched via the iOS desktop shortcut, I'm thinking this is an issue which you need to look into, rather than something I messed up on my end.  Here's the code I have in my web page, which is pretty vanilla:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="MYKEYHERE"&amp;gt;&amp;lt;/script&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On my button I have the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;function startDropboxProcess() {
  Dropbox.choose({
    success: function(files) {
      // Do something with the returned file
    },
     cancel: function() {
      hidePleaseWait();
    },
     linkType: "direct",
     multiselect: false,
     extensions: ['.pdf'],
  });
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The iPad tells me it is running iOS 8.3.  I can't seem to find what version of Safari it's using.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:42:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128428#M3729</guid>
      <dc:creator>Russ K.1</dc:creator>
      <dc:date>2019-05-29T09:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Chooser "Unable to Communicate With Parent Window" When Website Run as iOS Desktop Shortcut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128429#M3730</link>
      <description>&lt;P&gt;Moved to the API forum.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 03:13:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128429#M3730</guid>
      <dc:creator>Rich</dc:creator>
      <dc:date>2015-06-05T03:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Chooser "Unable to Communicate With Parent Window" When Website Run as iOS Desktop Shortcut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128430#M3731</link>
      <description>&lt;P&gt;I'm not aware of a way to work around this issue. If we're blocked from communicating between the two browser windows, then the Chooser can't function.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 04:45:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128430#M3731</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-06-05T04:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Chooser "Unable to Communicate With Parent Window" When Website Run as iOS Desktop Shortcut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128431#M3732</link>
      <description>&lt;P&gt;@Steve M, that's a bummer. So, just to clarify, is the issue essentially that when Dropbox chooser is run in a "normal" Safari browser it opens as a popup, but when chooser is run from within a "desktop shortcut" version of Safari it opens as an entirely new window?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 19:37:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128431#M3732</guid>
      <dc:creator>Russ K.1</dc:creator>
      <dc:date>2015-06-05T19:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Chooser "Unable to Communicate With Parent Window" When Website Run as iOS Desktop Shortcut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128432#M3733</link>
      <description>&lt;P&gt;FYI, this problem went away when I removed the following meta tag from my HTML:&lt;/P&gt;

&lt;P&gt;&amp;lt;meta name="apple-mobile-web-app-capable" content="yes" /&amp;gt;&lt;/P&gt;

&lt;P&gt;It seems that meta tag not only hides some of the Safari UI, it also forces it into "standalone" mode which makes it act differently than the normal Safari browser.  My application depends on DropBox integration, so I'd rather have that working and lose some screen real estate, than have a nice full screen app that doesn't work.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 21:57:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128432#M3733</guid>
      <dc:creator>Russ K.1</dc:creator>
      <dc:date>2015-06-05T21:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chooser "Unable to Communicate With Parent Window" When Website Run as iOS Desktop Shortcut</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128433#M3734</link>
      <description>&lt;P&gt;Great! Thanks for following up with what you found.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2015 03:34:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Chooser-quot-Unable-to-Communicate-With-Parent-Window-quot-When/m-p/128433#M3734</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-06-06T03:34:47Z</dc:date>
    </item>
  </channel>
</rss>

