I'm doing a Xamarin Forms multiplatform app on Visual Studio. I work with Firebase Realtime Database and I created a nested table like that
I need to do create a listview where I can see every Book the user read filtered by genre.
return (await firebase
              .Child("Utenti")
              .Child(ID)
              .Child("Books")
              .OrderBy("Genere")
              .EqualTo("Gialli")
              .OnceAsync<Utente>()).Select(item => new Utente
              {
              }).ToList();
The problem is I have to update the rules of realtime database and add indexOn Genere to use EqualTo. But ID always changes, because it is user's UID.
I tried with
"Utenti": {
".indexOn": ["Genere"] }
But the App crashes and ask me to use the entire root. Any suggestions?

 
     
    