firebase / firebase/flutterfire

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

Open
#12,984 1 comment 3 reactions 0 assignees View on GitHub
Needs Attention platform: android platform: ios plugin: in_app_messaging type: enhancement
Dominant language
Dart
Stars
9.3k
Forks
4.1k
Avg merge
1d 19h
Merged PRs (30d)
53

Description

Upon reading the [in-app-messaging](https://firebase.google.com/docs/in-app-messaging/modify-message-behavior?platform=android#implement_an_event_listener_for_card_interactions) , we found the following section:

Implement an event listener for Card interactions:

```java
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](https://pub.dev/packages/firebase_in_app_messaging) package.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.