You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several product-guide snippets did not compile or parse as written, so a
reader copying them hit errors before reaching Firebase.
- Close the appConfig object literal with } instead of }) in the App
Check, Auth, Database, Functions, Messaging, Remote Config, Storage,
and Performance guides.
- Import ApplicationConfig in every appConfig snippet so the type
annotation resolves.
- App Check: import getApp, which the snippet calls.
- Firestore: correct "export Interface" to "export interface" (twice),
import Observable from rxjs, and import CollectionReference and
DocumentReference.
- Auth and Database: replace the NgModule emulator and multi-instance
examples with the standalone appConfig form the rest of the guides
teach, and inline the Firebase config instead of reading a
no-longer-generated environment file.
- Messaging: repair the FcmService example (declare message$, move its
assignment into the constructor, make deleteToken async) and bump the
service-worker CDN imports from 9.22.0 to 12.4.0 to match the firebase
dependency.
0 commit comments