Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has anyone got Firebase app indexing to work?

After the implementation, I am able to successfully confirm that Google Bot can index my app through Android Studio testing (Tools > Android > Google App Indexing Test). And per Google Search Console, over 200 pages of my app have been indexed. But here follow the problems

  • Fetch as Google always fails
  • Firebase app indexing test fails.

If the app is installed, then clicking on a Google Search result will open the app. But if the app is not installed, it goes to the website (i.e. no install button in search results).

Everything else with Firebase works: app invite, deep linking, analytics.

So I am asking, has anyone out there actually gotten Firebase App Indexing to work? And if so, how REALLY?

My app is one Activity with a Spinner where users choose content by selecting an item from the spinner. And a Fragment is populated when the user makes a choice. And of course to index, I call AppIndex.AppIndexApi.start(client, getAction()) when the Fragment is populated and I call AppIndex.AppIndexApi.end(client, getAction()) when the user chooses a different content… and repeat start-end.

Also instead of using Digital Asset Links I am associating my app with my website through the Search Console.

like image 632
Katedral Pillon Avatar asked Aug 02 '16 15:08

Katedral Pillon


People also ask

Why is Firebase app indexing on my phone?

Why use Firebase App Indexing? Research has shown that the average U.S. mobile user has 36 apps, but doesn't regularly use 75% of them. Firebase App Indexing is designed to help users rediscover their apps through surfacing important content within them.

How do I know if Firebase is working?

However you can check if Firebase itself is working fine by checking Firebase Status Dashboard. In this site you can also find in what date Firebase service was not available or unstable in the past.


1 Answers

Few things:

Fetch as Google always fails. Firebase app indexing test fails.

You might need to check robots.txt for your website to not prevent Google bots to crawl your APIs.

If the app is installed, then clicking on a Google Search result will open the app. But if the app is not installed, it goes to the website (i.e. no install button in search results).

To achieve the app installation flow shown in the following screenshot, you actually need to implement Web App Manifest on your site.


(source: google.com)

like image 179
dlackty Avatar answered Sep 25 '22 18:09

dlackty