Skip to content

request: generate or support web/firebase-messaging-sw.js #215

Open
@jakusb

Description

@jakusb

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

flutterfire configure --include-messaging

Description

Running "flutterfire configure" works like a charm for normal Firebase operations, but is missing out on Cloud Messaging assistance. We now need to still manually and hardcoded introduce our own firebase-messaging-sw.js for web.

Steps to reproduce the behavior:
Run "flutterfire configure"
Notice web/firebase-messaging-sw.js is not created

Expected behavior
web/firebase-messaging-sw.js or any working equivalent should be created, optionally through flag or always

Reasoning

messaging is important component of many apps.
Hardcoding should be avoided where possible

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionOP created or responded to issue and it needs attention.enhancementNew feature or requestkeep open

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions