Я настроил индексацию приложений Firebase в своем приложении, итого работает, но в поиске Google мое приложение не показывалось, только в приложениях и в автозаполнении в Google App. Я пробовал все это в ручную, но ничего не помогает.
<code>
private void firebaseIndexing(int position) {
Indexable categoryToIndex = new Indexable.Builder()
.setName(data.get(position).getTitle())
.setUrl(BASE_URL + data.get(position).getLink())
.build();
Task<Void> task = FirebaseAppIndex.getInstance().update(categoryToIndex);
task.addOnSuccessListener(aVoid -> Log.d("Api success", "App Indexing API: Successfully added categories to index. " + categoryToIndex));
task.addOnFailureListener(exception -> Log.d("Api failed", "App Indexing API: Failed to add categories to index. " + exception
.getMessage()));
}
private Action getCategoriesAction(int position) {
return Actions.newView(data.get(position).getTitle(), BASE_URL + data.get(position).getLink());
}
</code>