<?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 Re: Dropbox app returns db-&amp;lt;app_key&amp;gt;://1/connect instead of ://2/ failing setupwithappkey in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250188#M14385</link>
    <description>Thanks for the report! Please use the latest SDK release, currently v3.3.4, instead of master for now to avoid this issue.</description>
    <pubDate>Mon, 30 Oct 2017 12:17:24 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-10-30T12:17:24Z</dc:date>
    <item>
      <title>Dropbox app returns db-&lt;app_key&gt;://1/connect instead of ://2/ failing setupwithappkey</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/249946#M14372</link>
      <description>&lt;P&gt;Already migrated all users to V2. Everything fine.&lt;/P&gt;
&lt;P&gt;Pulled 200+ commits from objective-c-official&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When a new users attempts to link the app to their Dropbox, the Dropbox app opens -&amp;gt; they tap "Allow" -&amp;gt; the Dropbox app opens our app via the URL-scheme ... fine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the url passed to OpenWithURL =&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;db-&amp;lt;app_key&amp;gt;://1/connect?oauth_token_secret=lalala-tatata=oauth2%3&amp;lt;someUUID&amp;gt;&amp;amp;uid=1234567&amp;amp;oauth_token=oauth2%3A&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;while the updated dropbox-objc-official codebase only accepts urls with host '2' , i.e.: &amp;nbsp; ://2/connect&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hence &amp;nbsp;&lt;SPAN&gt;- (&lt;/SPAN&gt;&lt;SPAN&gt;BOOL&lt;/SPAN&gt;&lt;SPAN&gt;)canHandleURL:(&lt;/SPAN&gt;&lt;SPAN&gt;NSURL&lt;/SPAN&gt;&lt;SPAN&gt; *)url returns NO&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;causing authentication to fail.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;any pointers what changed, what am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[EDIT]&lt;/P&gt;
&lt;P&gt;When doing the exact same thing on a device that does not have the Dropbox app installed -&amp;gt; auth goes through SafariViewController -&amp;gt; user taps 'allow' -&amp;gt; URL-scheme call our app -&amp;gt; this time with ://2/ url -&amp;gt; everything works fine&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:17:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/249946#M14372</guid>
      <dc:creator>Wouter V.</dc:creator>
      <dc:date>2019-05-29T09:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox app returns db-&lt;app_key&gt;://1/connect instead of ://2/ failing setupwithappkey</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250188#M14385</link>
      <description>Thanks for the report! Please use the latest SDK release, currently v3.3.4, instead of master for now to avoid this issue.</description>
      <pubDate>Mon, 30 Oct 2017 12:17:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250188#M14385</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-30T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox app returns db-&lt;app_key&gt;://1/connect instead of ://2/ failing setupwithappkey</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250262#M14402</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;"manually" parsing ://1/connect also worked - for now. We'll switch to the SDK&lt;/P&gt;
&lt;P&gt;Wouter&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 19:25:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250262#M14402</guid>
      <dc:creator>Wouter V.</dc:creator>
      <dc:date>2017-10-30T19:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox app returns db-&lt;app_key&gt;://1/connect instead of ://2/ failing setupwithappkey</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250412#M14412</link>
      <description>This issue is now fixed on master.&lt;BR /&gt;&lt;BR /&gt;Note for future reference though, we highly recommend only using the official release versions, and not just pulling from master. The commits on master may not be as well tested as the tagged release versions.</description>
      <pubDate>Tue, 31 Oct 2017 16:24:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250412#M14412</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-31T16:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox app returns db-&lt;app_key&gt;://1/connect instead of ://2/ failing setupwithappkey</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250415#M14413</link>
      <description>&lt;P&gt;Thanks, and yes, we'll be using the official SDK&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 16:40:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-app-returns-db-lt-app-key-gt-1-connect-instead-of-2/m-p/250415#M14413</guid>
      <dc:creator>Wouter V.</dc:creator>
      <dc:date>2017-10-31T16:40:56Z</dc:date>
    </item>
  </channel>
</rss>

