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

authHeaders type conversion on Android Plugin is incorrect #444

Closed
ikbalkaya opened this issue Oct 4, 2022 · 0 comments · Fixed by #460
Closed

authHeaders type conversion on Android Plugin is incorrect #444

ikbalkaya opened this issue Oct 4, 2022 · 0 comments · Fixed by #460
Assignees
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@ikbalkaya
Copy link
Contributor

ikbalkaya commented Oct 4, 2022

Please see this SO question for context.

I did a quick investigation and could reproduce the problem by creating a map of authHeaders

On Android Plugin AblyMessageCodec class has decodeClientOptions which has force type casts in it where it tries to convert from a HashMap to a Param[]

There are also other fields that are force casted to this and needs checking

┆Issue is synchronized with this Jira Bug by Unito

@ikbalkaya ikbalkaya added the bug Something isn't working. It's clear that this does need to be fixed. label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

Successfully merging a pull request may close this issue.

1 participant