Skip to content

🐛 [firebase_messaging] sendMessage method is not working and its useless  #10951

@jijojacob556

Description

@jijojacob556

Future sendMessage(
{String? to,
Map<String, String>? data,
String? collapseKey,
String? messageId,
String? messageType,
int? ttl}
)

I tired to use this method to send msg to a specific topic, but I'm getting null exceptions for something is missing which is not clear from exception, the method does not nessserly point out the required parameter, also its only for Android, then how do I send msg to a topic in ios, it look like no one use this method, can't find any data in internet about how to use it, if it's deprecated, pls tell me an alternative way to send msg using the plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions