I was trying listen for a change in firebase firestore collection, after the app is closed. For that I have written the following code:
FirebaseFirestore.getI