Open yusriltakeuchi opened 3 years ago
I Have the same issue.
getInitialLink is always returning null...
Maybe when upgrading to Null safety something was done?
getInitialLink
/getInitialUri
are only useful if your app is started from a https://domain.com/path/?arg=example
link or from a custom scheme like myawesomeapp0001://whatever/path/?arg=another-example
.
Otherwise it will always return null
, since the app was started with NO initial link.
If you do start from such a link, then you should check if you've configured your app and server (only if using https
) correctly - have a look at the README section for Permission configuration and the links at the end of each platform for more details.
Good luck.
@avioli, Even we are facing the same issue. I have gone through the readme file and all the config are set as mentioned in the readme. The app is working fine in all scenarios on android. Only on iOS when the app is not in the background or closed. The initialURI is null.
I was facing the same issue when tapping a Push notification resulted in cold-starting the iOS application, I fixed it here #129
I'm have an issue when i open the link.
When i click the link in the conditions apps already opened, the applink successfully and open the detail item screen.
But when the apps is not opened then i click the link, after that the application open but the function getInitialUri is not return anything, so my apps is not routing into detail item screen.
When i check in the console, there is nothing error found.
Can you give me solutions for this?