Skip to content

[firebase_messaging] Unresolved reference: firebasemessaging #1558

@VictorUvarov

Description

@VictorUvarov

Describe the bug
In the README for background messages. The example for Application.java imports import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService; If you create a new project there is no FlutterFirebaseMessagingService class in the Java code android.main.java.io.flutter.plugins folder. Are we supposed to create this class ourselves?

To Reproduce
Steps to reproduce the behavior:

  1. Create new flutter project
  2. read README

Expected behavior
An implementation example of how to handle import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService;

Additional context
Maybe I am wrong and somehow the Flutter firebase_messaging injects the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked: customer-responseWaiting for customer response, e.g. more information was requested.impact: crowdAffects many people, though not necessarily a specific customer with an assigned label. (P2)type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions