I'm working on and iOS and Android application with react-native and Amplify. The entire setup for push notifications is done. I can send a campaign to all or to a specific device - and I receive the notifications on both iOS and Android.
Also, I have deep linking enabled in my application. On iOS, I can type a url with my custom scheme and it will ask me to open it in the app and navigate to the correct route. On Android, I use adb shell am start -a android.intent.action.VIEW -d "*://*/do-something" com.*
(dummy); also works.
However, when I send a Direct Message in Pinpoint using a deep link, all it does is open the app and the deep link is not openend (https://i.stack.imgur.com/JxPn1.png). Even using Go to url, the app is openend and not the url I specified. The data from Pinpoint however is received (https://i.stack.imgur.com/qg4py.png)
I use the following packages:
@aws-amplify/pushnotification": "^1.0.8",
"aws-amplify": "^1.0.10",
"react-native": "0.56.0",
What is the setup that is required to make sure the actions from my notification are being processed in my application? I can't seem to find any documentation on Pinpoint actions and react-native.