Flutter App links and universal links are now working?

263 views Asked by At

I am learning flutter and want to apply the app links and universal links functionality in the app but wondering some issues.

I want to implement this functionality with the help of my domain.

  • I want to open a screen(details) in my app and i am handling using the uni_links.

For that the url is : https://example.com/shared/?askdjfhj=aakjsndfkaj

for Android app links I have added the assetlinks.json and for ios (apple-app-site-association), into the domain's home directory like this:

Android: https://example.com/.well-known/assetlinks.json IOS: https://example.com//.well-known/apple-app-site-association

The link > https://example.com/shared/?askdjfhj=aakjsndfkaj , is working fine for android only when clicking from emails and messages but not if I hit this url into the chrome browser.

And this url is not working for ios in any case like from emails and messages as well as.

What I want to achieve? It should be like, if app is installed then redirect to the particular screen. If not installed then redirect to corresponding Store like Play/App store to install it.

Any can help me to figure out which step I skipped, thanks.

0

There are 0 answers