Skip to content

feat(fcm): Lazy messaging, for compatibility with SSR #1827

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 1 commit into from
Aug 22, 2018

Conversation

jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Aug 22, 2018

Checklist

  • Issue number for this PR: #nnn (required)
  • Docs included?: (yes/no; required for all API/functional changes)
  • Test units included?: (yes/no; required)
  • In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description

FCM is not able to be included in node, it fails with a self not defined error. Rather than track this down and fix upstream, since FCM doesn't make sense server-side, let's jump the gun here and make the MessagingModule lazy.

Code sample

Copy link
Collaborator

@davideast davideast left a comment

Choose a reason for hiding this comment

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

LGTM

@davideast davideast merged commit d945614 into master Aug 22, 2018
@jamesdaniels jamesdaniels deleted the lazy_messaging branch August 22, 2018 17:17
sulco pushed a commit to sulco/angularfire2 that referenced this pull request Sep 3, 2018
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