I'm trying to implement app indexing on Android.
I've got an intent-filter, the following:
<intent-filter android:label="@string/app_name">
<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="www.hotelsclick.com" />
<data android:scheme="https"
android:host="www.hotelsclick.com" />
</intent-filter>
and I can call the activity from adb with this command
adb shell am start -a android.intent.action.VIEW -d "https://www.hotelsclick.com?hotel_id=135738"
Thus, I cannot manage to make the "Fetch as google" feature work.
I was wondering: how can I understand what's not working in the "fetch as google" feature? "URI unsupported" is quite a useless trace. How can I debug this?
Thank you
"Fetch as Google" can fetch a page from either the current version on Google Play or from an APK that you upload here.
If you are using a local upload, then you will see a "tick" mark in the "Local Upload APK" column after the fetch results are shown (check image below).
Since, it is not there in the image you provided, the fetch is happening from the Google Play version of your app. Check if it has app indexing implemented in this version.