<?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 login fails in android webview in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210576#M10512</link>
    <description>Thanks! I just tried this and I was able to reproduce the problem. (For me, it specifically gave the error ERR_UNKNOWN_URL_SCHEME.) It works properly for me in the system browser.&lt;BR /&gt;&lt;BR /&gt;Note that the Java SDK doesn't officially support this WebView technique though (it normally either uses the official Dropbox app or the system browser). That being the case, I'm afraid I can't offer much help on this specific issue, as it's specific to your WebView setup. I highly recommend just using the normal provided flow.&lt;BR /&gt;&lt;BR /&gt;If you want to further debug this though, there are some similar looking posts with potential solutions:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/24697429/getting-neterr-unknown-url-scheme-while-calling-telephone-number-from-html-pag" target="_blank"&gt;https://stackoverflow.com/questions/24697429/getting-neterr-unknown-url-scheme-while-calling-telephone-number-from-html-pag&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/37773131/android-webview-tel-link-err-unknown-url-scheme" target="_blank"&gt;https://stackoverflow.com/questions/37773131/android-webview-tel-link-err-unknown-url-scheme&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/4338305/android-webview-tel-links-show-web-page-not-found" target="_blank"&gt;https://stackoverflow.com/questions/4338305/android-webview-tel-links-show-web-page-not-found&lt;/A&gt;</description>
    <pubDate>Wed, 08 Mar 2017 19:18:51 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-03-08T19:18:51Z</dc:date>
    <item>
      <title>Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210163#M10474</link>
      <description>&lt;P&gt;I am using&amp;nbsp;dropbox-android-sdk-1.6.2.jar but after successful oauth login, webview is showing "Webpage not available"&amp;nbsp;error page. I have observed this behaviour on android OS 4.0.3, 4.3, 5.0.1, 6.0. Please refer &lt;A href="http://stackoverflow.com/questions/42638012/dropbox-login-fails-in-android-webview" target="_self"&gt;this&lt;/A&gt; for screenshot of webview.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:25:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210163#M10474</guid>
      <dc:creator>venu g.</dc:creator>
      <dc:date>2019-05-29T09:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210166#M10476</link>
      <description>&lt;P&gt;The error is&amp;nbsp;reporting that the db-&amp;lt;app_key&amp;gt; URL was not available. This is the redirect URI that the SDK uses to&amp;nbsp;receive the user after they go through the app authorization flow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you set up your&amp;nbsp;db-&amp;lt;app_key&amp;gt; URL in your&amp;nbsp;AndroidManifest.xml &lt;A href="https://www.dropbox.com/developers-v1/core/sdks/android" target="_self"&gt;as instructed for the Android Core SDK&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, I should note that the SDK you're using is for API v1 anyway, which is &lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_self"&gt;deprecated&lt;/A&gt;. You should migrate to API v2 whenever possible. For Android, you should use the &lt;A href="https://www.dropbox.com/developers/documentation/java" target="_self"&gt;API v2 Java SDK&lt;/A&gt;. There's an &lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android" target="_self"&gt;Android sample app&lt;/A&gt; for that to refer to.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 00:23:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210166#M10476</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-07T00:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210168#M10477</link>
      <description>&lt;P&gt;I will migrate to API V2 later but the app is already in production and facing this error. I have already specified db-&amp;lt;api_key&amp;gt; [api_key is my apps API key] in AndroidManifest.xml. It was working before but suddenly stopped working. Do you want me to share the exact value of api_key.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 00:29:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210168#M10477</guid>
      <dc:creator>venu g.</dc:creator>
      <dc:date>2017-03-07T00:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210169#M10478</link>
      <description>&lt;P&gt;Forgot to tell you, my app has been&amp;nbsp;developed for android based device which doesn't have a browser. We have created an activity with webview to be invoked by dropbox API instead of browser and it was working fine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 00:48:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210169#M10478</guid>
      <dc:creator>venu g.</dc:creator>
      <dc:date>2017-03-07T00:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210326#M10490</link>
      <description>Thanks for following up. Yes, please share the relevant portions of your AndroidManifest.xml as well as the code snippet(s) that reproduce this so we can look into it. (Your app key isn't considered secret, so it's safe to share, but you can open a ticket privately if you'd prefer: &lt;A href="https://www.dropbox.com/developers/contact" target="_blank"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt; )</description>
      <pubDate>Tue, 07 Mar 2017 18:23:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210326#M10490</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-07T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210428#M10497</link>
      <description>&lt;P&gt;Thanks Greg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to proceed with this ticket. Below are the declarations of AuthActivity from Dropbox and my own LoadUrlActivity to render&amp;nbsp;Dropbox URLs inplace of Browser. Also, you can find WebView initialization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;&lt;SPAN&gt;activity&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"com.dropbox.client2.android.AuthActivity"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:screenOrientation=&lt;/SPAN&gt;&lt;SPAN&gt;"sensorPortait"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:configChanges=&lt;/SPAN&gt;&lt;SPAN&gt;"orientation|keyboard"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:launchMode=&lt;/SPAN&gt;&lt;SPAN&gt;"singleTask" &lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;&lt;SPAN&gt;intent-filter&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;        &lt;SPAN&gt;&amp;lt;!-- Change this to be db- followed by your app key --&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;        &amp;lt;&lt;SPAN&gt;data &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:scheme=&lt;/SPAN&gt;&lt;SPAN&gt;"db-exi3o02y0ss2wn5" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;action &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.action.VIEW" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;category &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.category.BROWSABLE" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;category &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.category.DEFAULT" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;    &amp;lt;/&lt;SPAN&gt;intent-filter&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;&amp;lt;/&lt;SPAN&gt;activity&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;&lt;SPAN&gt;activity&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;".activities.LoadUrlActivity"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:screenOrientation=&lt;/SPAN&gt;&lt;SPAN&gt;"sensorPortait"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:exported=&lt;/SPAN&gt;&lt;SPAN&gt;"true"&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:label=&lt;/SPAN&gt;&lt;SPAN&gt;"@string/app_name" &lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;&lt;SPAN&gt;intent-filter&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;action &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.action.VIEW" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;category &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.category.DEFAULT" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;category &lt;/SPAN&gt;&lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:name=&lt;/SPAN&gt;&lt;SPAN&gt;"android.intent.category.BROWSABLE" &lt;/SPAN&gt;/&amp;gt;&lt;BR /&gt;        &amp;lt;&lt;SPAN&gt;data&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:host=&lt;/SPAN&gt;&lt;SPAN&gt;"www.dropbox.com"&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;android&lt;/SPAN&gt;&lt;SPAN&gt;:scheme=&lt;/SPAN&gt;&lt;SPAN&gt;"https" &lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;        &amp;lt;/&lt;SPAN&gt;data&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;    &amp;lt;/&lt;SPAN&gt;intent-filter&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;&amp;lt;/&lt;SPAN&gt;activity&lt;/SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;webview &lt;/SPAN&gt;= (WebView) findViewById(R.id.&lt;SPAN&gt;webview&lt;/SPAN&gt;);&lt;BR /&gt;&lt;SPAN&gt;webview&lt;/SPAN&gt;.getSettings().setJavaScriptEnabled(&lt;SPAN&gt;true&lt;/SPAN&gt;);&lt;BR /&gt;&lt;SPAN&gt;webview&lt;/SPAN&gt;.setScrollBarStyle(WebView.&lt;SPAN&gt;SCROLLBARS_OUTSIDE_OVERLAY&lt;/SPAN&gt;);&lt;BR /&gt;&lt;SPAN&gt;webview&lt;/SPAN&gt;.loadUrl(getIntent().getData().toString());&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 04:31:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210428#M10497</guid>
      <dc:creator>venug</dc:creator>
      <dc:date>2017-03-08T04:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210576#M10512</link>
      <description>Thanks! I just tried this and I was able to reproduce the problem. (For me, it specifically gave the error ERR_UNKNOWN_URL_SCHEME.) It works properly for me in the system browser.&lt;BR /&gt;&lt;BR /&gt;Note that the Java SDK doesn't officially support this WebView technique though (it normally either uses the official Dropbox app or the system browser). That being the case, I'm afraid I can't offer much help on this specific issue, as it's specific to your WebView setup. I highly recommend just using the normal provided flow.&lt;BR /&gt;&lt;BR /&gt;If you want to further debug this though, there are some similar looking posts with potential solutions:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/24697429/getting-neterr-unknown-url-scheme-while-calling-telephone-number-from-html-pag" target="_blank"&gt;https://stackoverflow.com/questions/24697429/getting-neterr-unknown-url-scheme-while-calling-telephone-number-from-html-pag&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/37773131/android-webview-tel-link-err-unknown-url-scheme" target="_blank"&gt;https://stackoverflow.com/questions/37773131/android-webview-tel-link-err-unknown-url-scheme&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/4338305/android-webview-tel-links-show-web-page-not-found" target="_blank"&gt;https://stackoverflow.com/questions/4338305/android-webview-tel-links-show-web-page-not-found&lt;/A&gt;</description>
      <pubDate>Wed, 08 Mar 2017 19:18:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210576#M10512</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-08T19:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox login fails in android webview</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210660#M10535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Greg.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;App is working fine on my device after fresh installation but it is not working on normal android devices.&amp;nbsp;I don't know where is the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 01:05:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-login-fails-in-android-webview/m-p/210660#M10535</guid>
      <dc:creator>venu g.</dc:creator>
      <dc:date>2017-03-09T01:05:51Z</dc:date>
    </item>
  </channel>
</rss>

