I am implementing facebook deeplinking to my android app. The behavior is that when someone shares something on my app it creates a aspx landing page, if someone clicks on the landing page link on an android and has my app installed the deeplinking activity should be fierd and parse the aspx page, then intent to the right place on app. All is working fine if i click the landing page link from anywhere on my phone. The only problem is when i click the link from facebook app.
The strange thing is that there is one item which i can share and it will open up my app, all the rest of the items i share just open up the webview on facebook app.
Here is the meta tags from the apsx landing page:
<meta property="al:android:package" content="com.mypackage">
<meta property="al:android:url" content="com.mydomain://">
Here is manifest :
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http"
android:host="mypackage.com"
android:pathPrefix="/Account/" />
<data android:scheme="https"
android:host="test.mypackage.com"
android:pathPrefix="/Welcome.aspx" />
<data android:scheme="com.mydomain" />
</intent-filter>
any idea or explenation?
EDIT: I cant find a solution yet but i did find more information, one link opens up the app imidietlly, the rest open up facebook webview and only if i press open with i get my app and can open with it. if i choose to always open with my app then the webview open and when i click on open with it shows myapp.
Any idea why does one link acts good and the rest dosent?