-
Notifications
You must be signed in to change notification settings - Fork 1
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 New User Google Login/Register Issue #234
Conversation
[diff-counting] Significant lines: 124. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your changes allow for relogin. However, there's now an issue where an existing user is redirected to the registration change every time.
Specifically, this is because of the error that is thrown "flutter: Error occurred while checking user: FormatException: Unexpected character (at character 1)"
Merging from master branch to resolve potential conflicts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed comments. Good work!
* Fixed local machine dependency issues * Fixed the issue of registering new users on simulator * Added documentation for login related pages * Fixed the wrong uri call for checking user existence * Removeed loggings that are used for debugging * Made check user existence logic concise
Summary
This pull request fixes the problem when users cannot log in/register on the simulator if their information is not in the database.
Dependency fixes are the same as #229
Test Plan
Notes
If we call Geolocator.getCurrentPosition() twice on the simulator, it will stuck forever. (in geopoint.dart)