Google App Indexing
App Indexing lets you bring your app to Google Search. If users have your app installed, they can launch your app and go directly to the content they are searching for. App Indexing re-engages your app users by helping them find both public and personal content right on their device. It also offers query autocompletion to help them quickly find what they want
Android
If you have not done a deep link set up for the android application in the firebase developer console, follow the Android deep link Setup.
If your deep link setup is already complete, follow the steps shown in the video below
You need to follow the below steps to enable the Google App index in the CiyaShop Android application:
-
- Open XML resources directory in CiyaShop, in Android Studio:
res/xml/noindex.xml
. - se statements with specific attributes that indicate the parts of your app to exclude from Google Search. These attributes are as follows:
- URI—Excludes a specific URI from Google Search. Google does not index URLs that exactly match this attribute.
- uriPrefix—Excludes all content below a URI path from Google Search. Google does not index URLs starting with a string matching this attribute.
- android:value= ”notification” — Excludes your app’s notifications from Google Search. Google does not index the app notifications if you specify this attribute.
In the following example, the noindex.xml file includes statements that exclude app notifications, a specific page, and hidden directories from Google Search results:
<search-engine xmlns:android="http://schemas.android.com/apk/res/android">
<noindex android:value="notification"/>
<noindex uri="http://example.com/hidden-page"/>
<noindex uriPrefix="http://example.com/hidden_prefix"/>
</search-engine>
- Open XML resources directory in CiyaShop, in Android Studio:
- After you add the noindex.xml file, reference it from a meta-data tag within the application section of the app’s
AndroidManifest.xml
file with the following line:
<meta-data
android:name="search-engine"
android:resource="@xml/noindex" />