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: Disable Google Credentials Sign In leading to crash #1534

Merged
merged 1 commit into from
Apr 6, 2019

Conversation

addiegupta
Copy link
Contributor

@addiegupta addiegupta commented Apr 4, 2019

Fixes: #1531

Changes:

  • Removed google sign in features due to buggy implementation.

Screenshots for the change:

private lateinit var thisActivity: Activity
private var credentialsClient: CredentialsClient? = null
private var signInClient: GoogleSignInClient? = null
private var thisActivity: Activity? = null
Copy link
Member

Choose a reason for hiding this comment

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

This is a very very poor implementation of ViewModel. I don't know what was I smoking when I let this get merged.

There are Android classes used in ViewModel. No doubt there was a crash 🤦‍♂️

Remove this feature completely and create an issue to reimplement this

Don't delete this ViewModel

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

Copy link
Member

Choose a reason for hiding this comment

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

Revert this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Fixes: fossasia#1531

Changes:

- Removes the Smart Auth features to fix app crash. These will be reimplemented later

SmartAuthViewModels files have not been deleted
@iamareebjamal iamareebjamal changed the title fix: app crash in playstore version on signup fix: Disable Google Credentials Sign In leading to crash Apr 4, 2019
@addiegupta
Copy link
Contributor Author

@iamareebjamal Is anything else required in this?

@iamareebjamal iamareebjamal added this to the v0.2.0 milestone Apr 6, 2019
@iamareebjamal iamareebjamal merged commit d6e662c into fossasia:development Apr 6, 2019
@addiegupta addiegupta deleted the 1531-signup-crash branch April 7, 2019 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants