Deep Linking in iOS - Navigate to Apple Store if app not installed

I followed the steps in this https://docs.flutter.dev/cookbook/navigation/set-up-universal-links to implement universal links and created a link that I published to the App Store. However, when I click on the deep link, I receive a 404 error in the browser saying the page can't be found.

When the app is installed, all the redirections with the deep link work correctly. My problem is navigating to the App Store to the app's page.

What should I check, and how can I determine if the problem is in the apple-app-site-association file or in some setting in the app?

I try to add * like prefix on url in app setting but this don't help.