Swift/Xcode: How to make Firebase observer functions action while app is in background?

22 Views Asked by At

WORKING IN SWIFT/XCODE I have a messaging app with observers connected to Firebase. When a new messages comes into Firebase, I want the app to send a local push notification to the iPhone.

Currently, when a new message comes in and the app is in the foreground, the notification is firing. However, when the app is in the background, the observer/notification are not firing. How do I make the notifications continue when the app is in the background?

0

There are 0 best solutions below