Notifications in the foreground

So Im trying to use Firebase as a notification service and whenever I push a payload and the app is in the foreground. It crashes, this is not unexpected. What I don’t know how to do is just throw out the payload. If they are in the app as the payload hits, then the notification would be useless and I dont need it. So I just need the app to handle it and im not sure how to do that. I’m very new to swift and I’m learning through the fourms and what little YT videos I can find.

 

Thank you so much Brady

Powered by WPeMatico

You may also like...

Comments are closed.