I’ve using react native customerio-reactnative: 2.3.2 to implement push notifcations in my app.
As of now, I’ve successfully implement the rich push notifcations in my system.
I want to handle the deeplinking manually based on Deep link url insert from customer io panel.
How can I access all those push notifcations messages payload (including deeplinking url) ?
Based on the that url, I’ll be handling the navigation. ( i may need to make api request based on the url before redirecting to particular screen )
How can I achieve this in my app ?
Solved
Deeplinking in Push notification
Best answer by Ryan_cio
Hi again,
I checked with the team and we don’t currently have a way for you to access the push payload in React Native. We’re tracking feedback for this though, so I’ve noted down that this is something you’d like to see for our Mobile team!
In the meantime, we do have a workaround that may work for your use case. You could try calling Linking.getInitialURL()
on app start to get the provided URL.
Let us know if this helps you!
Ryan
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.