<?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: Api V1 to V2 migration difficulties in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226206#M12336</link>
    <description>&lt;P&gt;Hi Jeremy, the "0-SNAPSHOT" configuration would be used if you're building the SDK from source locally, but that's not strictly necessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to install a specific version via gradle as you mentioned. In the gradle setup that you posted though, you appear to be trying to load an older version of the SDK (v2.1.1). Can you try the latest version (v3.0.3), as shown here, and let me know if that doesn't help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java#setup" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java#setup&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2017 20:20:03 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-06-16T20:20:03Z</dc:date>
    <item>
      <title>Api V1 to V2 migration difficulties</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226121#M12328</link>
      <description>&lt;P&gt;I'm the maintainer for an app with dropbox API v1 integration with about 4000 daily requests to DropBox&amp;nbsp;(has been working well for nearly 2 years and I've been hands free on it). I realise I've got to support V2 in the impending future, and I've been attempting to do just that but I'm having a great deal of trouble getting a hello-world&amp;nbsp;implementation of V2 on android to just work out of the box; it's been surprisingly difficult.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular I've found triggering the user to authenticate the DropBox App (new instance to support API 2 since File permissions is deprecated) via OAuth to be difficult; the diagrams are great for understanding the flow, but not very helpful as a consumer of the java API..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've downloaded the demo application (&lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android&lt;/A&gt;) and after much fiddling have the android project open and close to running, but I couldn't get the dependency for dropbox-core-sdk to&amp;nbsp;gradle sync, which prevents me running it and getting a better understanding of the workflow, especially around users authenticating my DropBox app to view their content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'com.dropbox.core'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;: &lt;SPAN&gt;'dropbox-core-sdk'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;: &lt;SPAN&gt;'0-SNAPSHOT'&lt;/SPAN&gt;, &lt;SPAN&gt;changing&lt;/SPAN&gt;: &lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replacing the above with this below line doesn't help, as a multitude of classes are not found in the OpenWithActivity class (e.g.&amp;nbsp;DbxOfficialAppConnector,&amp;nbsp;DropboxParseException, DropboxUidNotInitializedException).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;compile &lt;SPAN&gt;'com.dropbox.core:dropbox-core-sdk:2.1.1'&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I'm sure I've missed something obvious and I know this will be the first step on the V2 road; but any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:21:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226121#M12328</guid>
      <dc:creator>JeremyConnor</dc:creator>
      <dc:date>2019-05-29T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Api V1 to V2 migration difficulties</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226206#M12336</link>
      <description>&lt;P&gt;Hi Jeremy, the "0-SNAPSHOT" configuration would be used if you're building the SDK from source locally, but that's not strictly necessary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to install a specific version via gradle as you mentioned. In the gradle setup that you posted though, you appear to be trying to load an older version of the SDK (v2.1.1). Can you try the latest version (v3.0.3), as shown here, and let me know if that doesn't help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java#setup" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java#setup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 20:20:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226206#M12336</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-06-16T20:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Api V1 to V2 migration difficulties</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226891#M12345</link>
      <description>&lt;P&gt;Thank you; much appreciated! It had been a long day; I posted at midnight as I gave up and dragged myself off to bed &amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@C416A51F5C88BC4C321947886FE0A167/emoticons/1f61b.png" alt=":face_with_tongue:" title=":face_with_tongue:" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2017 11:49:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Api-V1-to-V2-migration-difficulties/m-p/226891#M12345</guid>
      <dc:creator>JeremyConnor</dc:creator>
      <dc:date>2017-06-17T11:49:24Z</dc:date>
    </item>
  </channel>
</rss>

