Skip to content

Puf kill switches #47

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

Merged
merged 48 commits into from
Jan 18, 2016
Merged

Puf kill switches #47

merged 48 commits into from
Jan 18, 2016

Conversation

puf
Copy link
Contributor

@puf puf commented Dec 30, 2015

Fixes #20. But
also changes #9 to
needing to override both populdateView() and parseSnapshot().

puf added 20 commits December 11, 2015 10:48
This gets rid of most of the switch-case and repeated if-then-else
constructs.
And move the need for google-services.json upward, to make it more
prominent.
Firebase's JWT is still stored until it expires, but the Google token
isn't
The name made no sense after we added PASSWORD to it.
This way we can invoke it from a loop in FirebaseLoginDialog. All
existing implementations are now (implicit) overrides of the empty
method in the base class.
This removes the need for google-services.json
There was a question about it here:
#11.
Fixes #20. But
also changes #9 to
needing to override both `populdateView()` and `parseSnapshot()`.
The position parameter is no longer optional, so update the docs to
always have it. Screenshots are not updated, so may still use the old
signature.
Fixes #20. But
also changes #9 to
needing to override both `populdateView()` and `parseSnapshot()`.
@puf puf added this to the 0.3.1 milestone Dec 30, 2015
This ensures we only need the Google auth binding in the build.gradle,
when we are using Google auth.
import java.lang.reflect.InvocationTargetException;

public enum AuthProviderType {
GOOGLE ("google", "com.firebase.ui.auth.google.GoogleAuthProvider", R.id.google_button),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we not do just "google.GoogleAuthProvider" and assume the "com.firebase.ui.auth" in the constructor? I feel like that might read better

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@abeisgoat
Copy link
Contributor

Overall lgtm - thanks for cleaning up a bit of my mess :)

abeisgoat added a commit that referenced this pull request Jan 18, 2016
@abeisgoat abeisgoat merged commit 9a5db25 into master Jan 18, 2016
@samtstern samtstern deleted the puf-kill-switches branch October 10, 2016 15:08
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

Successfully merging this pull request may close these issues.

2 participants