ARC++: Add support for Dropbox authentication via custom data scheme
Reported by
krzyszto...@gmail.com,
Jul 15 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Platform: 8530.13.0 (Official Build) dev-channel samus Steps to reproduce the problem: Try to authenticate Dropbox via a db-xxxxxxxxxxxxxxx custom data scheme while using Dropbox SDK. What is the expected behavior? Dropbox authentication via custom data scheme should be successful. What went wrong? Dropbox authentication can't be performed, because Chrome OS does not allow launching external applications via custom schemes (see screenshot). Did this work before? N/A Chrome version: 53.0.2785.15 Channel: dev OS Version: 53.0.2785.15 Flash Version: Shockwave Flash 22.0.0.200-r1
,
Aug 8 2016
,
Aug 8 2016
Is this an Android thing? What happened to navigator.registerProtocolHandler ? Seems like URL handlers are the newer way ?
,
Aug 9 2016
Yes, the custom data scheme is sent by a standard Android intent (the metadata below is from the AndroidManifest.xml):
<activity android:name="com.dropbox.client2.android.AuthActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
android:launchMode="singleTask" >
<intent-filter>
<data android:scheme="db-XXXXXXXXXXXXXXX" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
After sending an intent we are waiting for a web browser for a result of the authentication.
,
Feb 3 2017
It started to work after one of the updates!
,
Feb 14 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||
►
Sign in to add a comment |
|||
Comment 1 by krzyszto...@gmail.com
, Jul 18 2016177 KB
177 KB View Download