1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Conversational Notifications in Flutter and

Discussão em 'Mobile' iniciado por Stack, Outubro 1, 2024 às 08:43.

  1. Stack

    Stack Membro Participativo

    Has anyone worked on conversation notifications (https://developer.android.com/develop/ui/views/notifications/conversations)? As my chat app simple shows title and body which are always shown below other conversation notifications from WhatsApp, Telegram, Signal etc. I have added the following in using flutter_local_notifications: ^17.2.3

    styleInformation: MessagingStyleInformation(
    Person(
    name: title,
    important: true,
    key: title,
    uri: dummyProfileUrl,
    ),
    conversationTitle: title,
    groupConversation: true,
    messages: [
    Message(
    body,
    DateTime.now(),
    null,
    ),
    ],
    ),



    but am not sure about how to setup the shortcutId parameter which is defined as:

    {String? shortcutId}


    Type: String? Specifies the id of a published, long-lived sharing that the notification will be linked to. From Android 11, this affects if a messaging-style notification appears in the conversation space.

    Could someone please help on how I can achieve the conversational notifications?

    Continue reading...

Compartilhe esta Página