Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid authCallback response when using token authentication #164

Merged
merged 2 commits into from Sep 20, 2021

Conversation

ben-xD
Copy link
Contributor

@ben-xD ben-xD commented Sep 1, 2021

Use latch to turn asynchronous method channel call synchronous. Please see #156 to see the exception which is thrown at every launch of the app when token authentication callback is first called by ably-java.

Closes #156

Copy link
Contributor

@QuintinWillison QuintinWillison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a pragmatic approach. And, presumably, ties in with the work you've done in #172.

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

Successfully merging this pull request may close these issues.

Token Authentication with authCallback in Android: java.lang.Exception: Invalid authCallback response
2 participants