Skip to content

Add metadata support to Message object in flutter_aepmessaging #154

@cacheung

Description

@cacheung

Prerequisites

  • This is not a Security Disclosure, otherwise please follow the guidelines in Security Policy.
  • I have searched in this repository's issues to see if it has already been reported.
  • I have updated to the latest released version of the SDK and the issue still persists.

Bug summary

The Flutter flutter_aepmessaging plugin does not expose message metadata to Dart code, even though the native iOS and Android AEPMessaging SDKs support it.

Current Behavior
Message object only exposes id and autoTrack properties
Native bridges don't pass metadata from native SDK to Flutter
Metadata is always null/undefined in Dart code

Expected Behavior
Message object should include a metadata property of type Map<String, dynamic>?
Native bridges should pass metadata from native Message objects to Flutter
Developers can access metadata in MessagingDelegate callbacks (e.g., shouldShowMessage)

Environment

Flutter flutter_aepmessaging v5.0.1

Steps to reproduce

No response

Current behavior

No response

Expected behavior

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage-requiredTriage required on a new issue logged for this project. Used by issue templates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions