We've implemented applinks in our android app, but they seem to be misbehaving when links are being opened in apps other than Facebook.
Even though our app is installed in our phone, when we press a link which was shared to any other app (whatsapp, gmail, etc.) it will open the play store. However, pressing the same link from within Facebook will invoke the desired flow: Open the app if it is installed or prompt to download the app from the play store if not.
How can we get the links in other apps to open our app if it is already installed?
The following tags exist in our <HEAD>
:
<meta property="al:android:url" content="ourappname://">
<meta property="al:android:package" content="com.ourappname.app">
<meta property="al:android:app_name" content="ourappname">
<meta property="al:web:should_fallback" content="false" />
And the following definitions in our Manifest file:
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="ourappname" />
</intent-filter>
What are we missing?
Thanks.