So, I was trying to implement app indexing to allow "Open in App" feature from google search (in Chrome app).
I've implemented the following sections from google docs https://developers.google.com/app-indexing/:
Add Deep Linking to your App
<activity android:name=".DeepLinkActivity"> <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="dl.mysite.com" android:pathPattern="/" /> <!-- Home page --> </intent-filter> </activity>
Connect your App
I've verified and approved the website from Webmaster and Play console.
Provide Deep Links
<link rel="alternate" href="android-app://com.MyApp.MyApp/http/dl.mysite.com/" />
I've tried testing my link "android-app://com.MyApp.MyApp/http/dl.mysite.com/" in https://developers.google.com/app-indexing/webmasters/test and the link opens my app home page. However, the listing corresponding to my site in google search results (in Chrome app) has no "Open in App" function.
I'd like to have this "Open in App" function. I'd appreciate any help.