Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoedertDalmolin opened this issue Jun 21, 2024 · 1 comment
Labels
Needs Attention This issue needs maintainer attention. platform: android Issues / PRs which are specifically for Android. platform: ios Issues / PRs which are specifically for iOS. plugin: in_app_messaging type: enhancement New feature or request

Comments

@GoedertDalmolin
Copy link

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 GoedertDalmolin added Needs Attention This issue needs maintainer attention. type: enhancement New feature or request labels Jun 21, 2024
@TarekkMA
Copy link
Contributor

Hello @GoedertDalmolin,

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

@Lyokone Lyokone added platform: android Issues / PRs which are specifically for Android. platform: ios Issues / PRs which are specifically for iOS. labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention This issue needs maintainer attention. platform: android Issues / PRs which are specifically for Android. platform: ios Issues / PRs which are specifically for iOS. plugin: in_app_messaging type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants