I have an app made with Unity and would like to add deep links using FCM. Everything works fine on Android, but I can't get it working on iOS.
Following this manual and this answer.
Issue is that Application.absoluteURL
is empty in Unity on iOS when app opens from notification.
If I click same link on a webpage or in messenger everything works as expected. So I suppose that problem is in the way my notification is composed.
I think that I need use some other key (not link
for iOS), but I'm not sure (tried deepLink
, deeplink
, url
, link
and some others, but no luck yet). This is what works for me on Android.
{
"to" : "{token}",
"notification" : {
"body" : "Body",
"title": "Title",
"link": "mylink://sometext"
}
}
Any suggestions appreciated.