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

Event when button has openURL #237

Open
FSAish opened this issue Jun 13, 2022 · 6 comments
Open

Event when button has openURL #237

FSAish opened this issue Jun 13, 2022 · 6 comments
Assignees

Comments

@FSAish
Copy link

FSAish commented Jun 13, 2022

Wanted to check if there is any event that gets fired when we tap on button inApp notification and provide open URL.

CleverTap.addListener( CleverTap.CleverTapInAppNotificationButtonTapped, (event: any) => { console.log('CleverTapInAppNotificationButtonTapped Event called - ', event); ....

This log never gets called
I get event only when I add custom key value pair.

@FSAish FSAish changed the title Event Event when button has openURL Jun 13, 2022
@piyush-kukadiya
Copy link
Contributor

@FSAish Yes we don't give callback if custom k,v pair is not present. We will discuss this internally if we can support this. Thanks!

@Mobu34
Copy link

Mobu34 commented Sep 6, 2022

Hello @piyush-kukadiya

I'm also trying to use this event to get the url when users press any button of our InApp messages but this event never gets called as well and I can't add custom key value pair for InApp campaigns (only for push notifications).
Is it normal ?

Do you plan to support this without custom key value pair ?

Thanks

@darshanclevertap
Copy link
Contributor

@Mobu34 You can add KV pairs to the button of the InApp campaigns if you are using the Native InApp templates.

@piyush-kukadiya
Copy link
Contributor

@Mobu34 Make sure you are following proper steps given in below docs:

You will find it while creating in app campaigns
Screenshot 2022-09-07 at 1 03 17 PM
Screenshot 2022-09-07 at 1 03 09 PM

@Mobu34
Copy link

Mobu34 commented Sep 7, 2022

Thanks for replying and for your help @darshanclevertap @piyush-kukadiya

Actually I could not find this action as I wanted to use the alert template but this action is not available for that one :
Capture d’écran 2022-09-07 à 11 10 21

And how suggests FSAish, is it possible to get fired CleverTap.CleverTapInAppNotificationButtonTapped without KV pairs ?

Thank you

@piyush-kukadiya
Copy link
Contributor

@Mobu34 Without custom kv we don't give callback as of now. Also custom k,v is not applicable for alert in app. Although we can discuss this with our product team if we can have support for custom k,v for alert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants