Hi I'm using the latest version of react native in-app messaging and I need to handle the button clicks. Can someone help me with this
Asked
Active
Viewed 342 times
2
-
code what u trying to do ? – anthony willis muñoz Nov 18 '20 at 11:06
-
I have designed the ui in firebase console and its displaying in mobile. When I click on the share button I want to redirect to a page or. have to open a webview – James Matthew Nov 18 '20 at 11:39
-
You can follow simple workflow like this: 1. Add custom data in notification `payload` 2. Handle click button event to open webview with page_url from `payload`. Try each steps and check where you got stuck. – Thinh Phan Dec 03 '20 at 06:48
-
@ThinhPhan how can I handle payload for in-app message? – Ilkin Apr 30 '21 at 11:45
1 Answers
0
You should use deeplinks.
Setup deeplink like myapp://do_something
Then in firebase console add same action for the button.
When you press button, deeplinks listener will be triggered

Alex
- 1