Yes, in fact I had already tried with silent notifications, but besides being unreliable, they don't work when the app is killed, thus losing the real utility of Firebase messages. I think I will come up with something with "topics" even if it will be impossible to manage the behavior of a message to 100% (for example by inserting it in a SQLite database).
P.S. I edited my first post and entered the "code" tags