" in "" does not work We are struggling with the topic of indexing apps from Google. The plan is to insert ...">

Android app indexing - "<link>" in "<head>" does not work

We are struggling with the topic of indexing apps from Google. The plan is to insert the tag into the -area of ​​the website (crwaled from google) as follows:

android-app://com.testApp/myCustomScheme/car/ford

and after that visit this site with a smartphone, and the application should open. But this is not work ...

AndroidManifest:

In AndroidManifest, we entered the following code:

<intent-filter android:label="test">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>

<data android:scheme="myCustomScheme"
     android:host="car"
     android:pathPrefix="/ford"/>
</intent-filter>

AppPackage package: "com.testApp".

HTML code:

<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no">

<link rel="alternate" href="android-app://com.testApp/myCustomScheme/car/ford" />
...

Problems:

When I visit a website with this code, my application does not open.

After testing deeplink with the google deeplink-test tool, everything works fine ( https://developers.google.com/app-indexing/webmasters/test )

, ... , ( ), , ?

- Google?

UPDATE:

@ArunL - , , . .

Google: http://search-codelabs.appspot.com/codelabs/web-deep-linking#1

- Google: https://www.google.com/webmasters/tools/

LOCAL.apk / deeplink apk, "production/live"

.apk, Play .

,

+4
1

Google. Google, , - Google: http://webcache.googleusercontent.com/search?q=cache:yourwebsite.com.

, apk PRODUCTTION, BETA TESTING Google Play.

+3

Source: https://habr.com/ru/post/1584153/


All Articles