FCM -> Angular Build Optimization Message Error
- Dominant language
- TypeScript
- Stars
- 7.8k
- Forks
- 2.2k
- Avg merge
- 22h 28m
- Merged PRs (30d)
- 6
Description
When Angular's build optimization flag is set to true in angular.json. the line throws: Service messaging is not available
provideMessaging(() => getMessaging()),
Also check this image for reference from this issue: https://github.com/firebase/firebase-js-sdk/issues/7707

Please help out. thanks.
Contributor guide
Research direction
Start with the angular.json build optimization setting and the provideMessaging(() => getMessaging()) entry point described in the report. Compare the failure with the linked Firebase issue and reproduce an Angular build with optimization enabled; done means messaging initializes without the reported “Service messaging is not available” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, firebase, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100