flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

🐛 [in_app_messaging] Add suport for event listener for Card interactions

Open GoedertDalmolin opened this issue 1 year ago • 1 comments

Upon reading the in-app-messaging , we found the following section:

Implement an event listener for Card interactions:

public class MyClickListener implements FirebaseInAppMessagingClickListener {

    @Override
    public void messageClicked(InAppMessage inAppMessage, Action action) {
        // Determine which URL the user clicked
        String url = action.getActionUrl();

        // Get general information about the campaign
        CampaignMetadata metadata = inAppMessage.getCampaignMetadata();

        // ...
    }

}

Note that currently this feature is implemented only for Android and Kotlin.

I request that it be implemented in Flutter using the firebase_in_app_messaging package.

GoedertDalmolin avatar Jun 21 '24 12:06 GoedertDalmolin

Hello @GoedertDalmolin,

Thank you for opening an issue regarding this. We will look into how to implement it.

TarekkMA avatar Jun 24 '24 11:06 TarekkMA