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

Inconsistent feedback when trying to Sign in without an internet connection #36

Open
FrozenKoi opened this issue Oct 22, 2019 · 0 comments

Comments

@FrozenKoi
Copy link

When trying to use the Android Client SDK to sign in to a ZelloWork network, we're not always getting proper feedback about the error condition.

If the network name we give is just the name (i.e. "network_name" instead of "https://network_name.zellowork.com") then we seem to be getting the last error as the last time we tried to sign in.

So for example if we tried to sign in with incorrect credentials with an internet connection we do the INVALID_CREDENTIALS error as expected.

If we disable wifi and cell data and try again to sign in, the result will depend if we use network_name or if we use https://network_name.zellowork.com.

The error we get when we use network_name will be INVALID_CREDENTIALS again, even if we send a different username and/or password as last time.

But when we use https://network_name.zellowork.com we do get the NO_INTERNET_CONNECTION error as expected.

Furthermore, if we switch to a different https://another_network_name.zellowork.com we get a different behavior than if we had stayed with https://network_name.zellowork.com. With network_name the SDK keeps trying to sign in with a timer, yet with another_network_name it simply tries once and reports NO_INTERNET_CONNECTION.

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

No branches or pull requests

1 participant