firebase / firebase/flutterfire
🐛 [in_app_messaging] Add suport for event listener for Card interactions
- 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
Assessment
This issue has not been assessed yet.