Title: ng add @angular/fire <- Generates the config that does not compile · Issue #3675 · angular/angularfire · GitHub
Open Graph Title: ng add @angular/fire <- Generates the config that does not compile · Issue #3675 · angular/angularfire
X Title: ng add @angular/fire <- Generates the config that does not compile · Issue #3675 · angular/angularfire
Description: Angular version: 20.0.0 Angular Fire version: "@angular/fire": "20.0.1" Following the workflow after executing ng add @angular/fire generates the config like below: provideFirebaseApp(() => initializeApp({ projectId: '*****', appId: '***...
Open Graph Description: Angular version: 20.0.0 Angular Fire version: "@angular/fire": "20.0.1" Following the workflow after executing ng add @angular/fire generates the config like below: provideFirebaseApp(() => initial...
X Description: Angular version: 20.0.0 Angular Fire version: "@angular/fire": "20.0.1" Following the workflow after executing ng add @angular/fire generates the config like below: provideFireb...
Opengraph URL: https://github.com/angular/angularfire/issues/3675
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng add @angular/fire \u003c- Generates the config that does not compile","articleBody":"```\nAngular version: 20.0.0\nAngular Fire version: \"@angular/fire\": \"20.0.1\"\n```\n\nFollowing the workflow after executing \n\n`ng add @angular/fire`\n\ngenerates the config like below: \n\n```\n provideFirebaseApp(() =\u003e\n initializeApp({\n projectId: '*****',\n appId: '*****',\n storageBucket: '*****',\n apiKey: '*****',\n authDomain: '*****',\n messagingSenderId: '*****',\n measurementId: '*****',\n projectNumber: '*****',\n version: '**',\n }),\n ),\n provideFirestore(() =\u003e getFirestore()),\n```\n\nHowever, the underlying Firebase Config Object `FirebaseOptions` does not recognize the last 2 properties `projectNumber` and `version`. \n\nThey have to be commented out to make sure the application compiles. Can they be removed as they do not map correctly with the underlying interface?","author":{"url":"https://github.com/sushpop","@type":"Person","name":"sushpop"},"datePublished":"2025-10-17T09:09:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3675/angularfire/issues/3675"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9fb77711-ecd8-a034-2abe-9252111d43c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6F4:34EF3:94A01F:D2988A:696F620E |
| html-safe-nonce | 65924943a2566b3d467875a14120186885a648c011133f191d0b958b06fe1152 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkY0OjM0RUYzOjk0QTAxRjpEMjk4OEE6Njk2RjYyMEUiLCJ2aXNpdG9yX2lkIjoiNTAyODM3NzU4Mzk3NjE0NTQyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fad9bedf03493f962b2a972e8175e2b4aac218bfebdab10cb83207c1712e94e1 |
| hovercard-subject-tag | issue:3525184391 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3675/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d8a8fd251797dafc2fdb648bfe97079b1f8a72353d0321fd6498e7fe0d11a50/angular/angularfire/issues/3675 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d8a8fd251797dafc2fdb648bfe97079b1f8a72353d0321fd6498e7fe0d11a50/angular/angularfire/issues/3675 |
| og:image:alt | Angular version: 20.0.0 Angular Fire version: "@angular/fire": "20.0.1" Following the workflow after executing ng add @angular/fire generates the config like below: provideFirebaseApp(() => initial... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sushpop |
| hostname | github.com |
| expected-hostname | github.com |
| None | 774d0922d2c4577043d2dab90427344eb4c6ce1d5579acb1dd504cff1a7e46f8 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 650acea592f12d1bd8931d44546c209e0b06ed6e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width