2017-03-02 80 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

您提到的链接我已经通过谷歌和您所有的视频管理过了。编码部分完成。 –