Skip to content

Move getPushSubscription method to ControllerInterface. #579

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 5 commits into from
Mar 22, 2018
Merged

Move getPushSubscription method to ControllerInterface. #579

merged 5 commits into from
Mar 22, 2018

Conversation

pinarx
Copy link

@pinarx pinarx commented Mar 21, 2018

Both SWController and WindowController need to implement getPushSubscription method to use in the getToken flow. For SwController, the parameters of the method is a bit redundant: we pass a swRegistration in the method, even though SWController has internal access to it. @gauntface

email: string,
password: string
): Promise<any>;
createUserAndRetrieveDataWithEmailAndPassword(

Choose a reason for hiding this comment

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

@jshcrowthe this prettier auto stuff really drags on PRs :(

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed, @schmidt-sebastian and I have both proposed solutions to handle this (#585, #580). Both scope the change down to only your package so other components changes shouldn't be included as much.

Copy link
Contributor

@jshcrowthe jshcrowthe left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@gauntface gauntface merged commit ab0faeb into firebase:master Mar 22, 2018
@firebase firebase locked and limited conversation to collaborators Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants