How to listen to Firestore changes in android when app is in background?
I want to listen to Firestore changes in android app when it is in background. I want to write this code in android app and not in cloud functions. How can I do this (firstly, is it a good approach)?