Flutter Notifications with Cloud Functions and Firebase Cloud Messaging don't run in the background
I am building a Flutter app with Firebase Firestore, Cloud Functions and Messaging. I am trying to send and receive notifications. The notifications work when: The app is in the foreground and I create a new document in my collection…