Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppLink not work when link opened in the conditions apps not opened #109

Open
yusriltakeuchi opened this issue Apr 19, 2021 · 4 comments
Open

Comments

@yusriltakeuchi
Copy link

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?

@atrope
Copy link

atrope commented Apr 23, 2021

I Have the same issue.

getInitialLink is always returning null...

Maybe when upgrading to Null safety something was done?

@avioli
Copy link
Owner

avioli commented Apr 28, 2021

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.

@kssujithcj
Copy link

@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.

@ritaamro
Copy link

ritaamro commented Aug 4, 2021

I was facing the same issue when tapping a Push notification resulted in cold-starting the iOS application, I fixed it here #129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants