-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[6.0-rc.0] Analytics: global is not defined #2303
Comments
Thanks for the heads up, I was planning on moving the caching service to a new |
jamesdaniels
added a commit
that referenced
this issue
Feb 6, 2020
Fixed in |
Thanks, can confirm it works without the polyfill now |
Thanks for giving the RC a spin. The feedback is super valuable! |
noproblem23
added a commit
to noproblem23/angularfire
that referenced
this issue
Apr 26, 2023
* Brought a fix in from `5.4.2` ([#2315](angular/angularfire#2315)) * Fixed `@angular/fire/analytics` attempting to use `global` ([#2303](angular/angularfire#2303)) * Fix the error message on storage ([#2313](angular/angularfire#2313)) * Starting on documentation for 6.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version info
Angular: 9.0.0-rc.12
Firebase: 7.8.0
AngularFire: 6.0.0-rc.0
Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
Steps to set up and reproduce
Just importing the Analytics Module
Debug output
Expected behavior
Analytics running
Actual behavior
Whole app is not running
Workaround
By adding
(window as any).global = window;
topolyfill.ts
I can work around the issue for nowThe text was updated successfully, but these errors were encountered: