Skip to content

Android tokenRequest.execute().get() block the UI thread in AuthActivity #528

Open
@ErickLiang21

Description

@ErickLiang21

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

Relevant code.:

val dbxAuthFinish = tokenRequest.execute().get()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions