Android tokenRequest.execute().get() block the UI thread in AuthActivity
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, kotlin
- Domain
- authentication, mobile
Research direction
Start at android/src/main/java/com/dropbox/core/android/AuthActivity.kt around line 216 and trace the tokenRequest.execute().get() call during the browser login return. Reproduce the black screen and connection timeout, then verify that the token request no longer blocks the UI thread and the login flow returns without the delay.
Written by the indexing model from the issue text.
Description
Log in to dropbox in browser and auto back to our app, then a few seconds of black screen displayed.
See the logs: Token Request Failed: failed to connect to api.dropboxapi.com/128.242.240.244 (port 443) from /10.4.1.82 (port 38908) after 20000ms
- Dominant language
- Java
- Stars
- 627
- Forks
- 463
- Avg merge
- 5m
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dropbox/dropbox-sdk-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dropbox/dropbox-sdk-java#536 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
dropbox/dropbox-sdk-java#560 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
dropbox/dropbox-sdk-java#550 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
dropbox/dropbox-sdk-java#542 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dropbox/dropbox-sdk-java#535 · 1 comment ·
All issues in dropbox/dropbox-sdk-java
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/rocketmq-dashboard#4860 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·