"Open in application" application indexing does not work

So, I tried to implement indexing applications to enable the "Open in application" function from a Google search (in a Chrome application).

I have completed the following sections from google docs https://developers.google.com/app-indexing/ :

  • Add deep binding to your application

    <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>
    
  • Plug in app

    I checked and approved the website from the webmaster console and Play.

  • Provide deep links

    <link rel="alternate" href="android-app://com.MyApp.MyApp/http/dl.mysite.com/" />
    

"android-app://com.MyApp.MyApp/http/dl.mysite.com/" https://developers.google.com/app-indexing/webmasters/test, . , Google ( Chrome), " " .

" " . .

+4
2

.

Android - "<link> " "<head> "

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

, apk , BETA TESTING Google Play.

0

android-app://... - , .

URL- http://... https://...!

, , , , /.well-known/assetlinks.json .

Google/Firebase App Indexing - https://firebase.google.com/docs/app-indexing

Android Studio App Links Assistant, assetlinks.json URL- .

0

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


All Articles