I have a Firebase childAdded
event listener for the notifications table in my app that I would like to trigger push notifications when the app is in the backgro
I had the same problem and came across your post months ago. I have managed to finally understand what is required to observe notifications in the background.
I have detailed the solution that I am using in this post https://stackoverflow.com/a/42240984/7048719
The technique is as follows
This way the observer stays in memory
Update: Apple have implemented updates in regards to background modes which have stopped this method from working.