I'm using branch.io to create universal links.
It's working fine but it opens applications's App Store page and not the app if I pasted the URL in safari or click it from twitter App.
If I click the link from notes app or WhatsApp, it works fine and open the app.
Contacted Branch.io there answer was:
This is just a twitter issue, universal links dont work sometimes on Twitter app.
Check this doc on the same:
https://help.branch.io/developers-hub/docs/ios-universal-links#apps-that-work-sometimes