2017-03-02 124 views
0

我已經實施了此鏈接中提到的所有步驟:Firebase App Indexing Start。上面提到的所有測試你的實現步驟工作正常。我的應用也可以在Google App ScreenShot中搜索到。我已經交叉檢查按鈕違規,內容不匹配,如谷歌文檔中提到的。我們有一個帶有正確索引頁面的實時網站,我的應用程序正在播放store.My網站可以找到與谷歌搜索結果,如果你點擊鏈接它都要求通過應用程序打開,如果在應用程序打開它將重定向到該特定內容。然而,通常與索引網址一起出現的應用程序圖標以及網絡鏈接並未顯示在搜索結果中。我無法確定問題。有些身體可以解釋我出錯的地方嗎?Firebase App索引Android搜索結果

+0

我沒有太多的名聲把其他圖像更多的鏈接。測試你的暗示鏈接:https://firebase.google.com/docs/app-indexing/android/test –

+0

如果你的意思是在公共搜索結果,那麼你需要等待。 –

+0

是的。它將近48小時,需要多少時間? –

回答

0

您實施的方式中的索引是本地的。這意味着它們只能在電話上使用,並且無法通過互聯網訪問。首先您需要擁有網站 。那麼當您在Google上顯示的搜索結果顯示在Google上,並且用戶點擊您的網站鏈接時,Android系統會詢問用戶如何打開它。內部目標應用程序或瀏覽器中。

<intent-filter android:label="@string/app_name" android:autoVerify="true"> 
     <action android:name="android.intent.action.VIEW" /> 
     <category android:name="android.intent.category.DEFAULT" /> 
     <category android:name="android.intent.category.BROWSABLE" /> 
     <!-- Accepts URIs that begin with "http://recipe-app.com/recipe" --> 
     <data android:scheme="http" 
      android:host="recipe-app.com" 
      android:pathPrefix="/recipe" /> 
     <!-- Accepts URIs that begin with "https://recipe-app.com/recipe" --> 
     <data android:scheme="https" 
      android:host="recipe-app.com" 
      android:pathPrefix="/recipe" /> 
    </intent-filter> 

這裏的網站是www.recipe-app.com因此,如果用戶從這個網站在谷歌搜索結果中看到一些結果,那麼他就可以打開你的應用程序中。和應用程序應該在谷歌Play商店發佈。希望能幫助到你!

還我建議閱讀本程式碼實驗室 http://search-codelabs.appspot.com/codelabs/android-deep-linking#1

+0

我已經運行一個網站,其鏈接的索引正確,我的應用程序在Play商店中更新。 –

+0

您提到的鏈接我已經通過谷歌和您所有的視頻管理過了。編碼部分完成。 –