how to trigger push notifications of firebase from an ios device using swift3

Viewed 2040

I am new iOS developer.

I am using firebase and I am trying to make a chat application in which I need to notify user when he/she receives any message. For this purpose I tried firebase push notifications, but couldn't be able to trigger them when other user send the message. The only way I found is using firebase console to send push notification, but it doesn't fulfill my requirements. I've just configured local notifications. Please guide me how can we trigger push notifications without using the firebase console.

2 Answers
Related