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

Missing AppState events when attempting to sign in to non-existent network #34

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

Comments

@FrozenKoi
Copy link

I'm using the Android Client SDK to let users sign in to their zellowork network.

I've run into an issue where if the user misspells their network name, the app is not getting enough events to provide feedback to the user.

If the user enters the correct network name but wrong credentials, the app receives around 3 events, (1) where the isSigningIn becomes true and last error is NONE. Then (2) isSigningIn becomes false and lastError INVALID_CREDENTIALS and finally (3) which seems to be the same as #2.

In contrast if the network url is of a zellowork-network that doesn't exist, I get no events and after a few seconds I get a single event, where isSigningIn is false, and lastError is the NONE. So there isn't much to determine that something went wrong, let alone what went wrong. (Additionally, the networkUrl field in the app state is still pointing to whatever network was previously configured, or blank if the com.pttsdk app was just installed/cleared)

Is this expected behavior? How can I be able to know that the network name/url doesn't match a real network?

I'm using com.pttsdk version 4.56 (and testing now with 4.74) and sdk version 4.75 (same tag as 4.56)

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