Learn Courses My Dashboard

Is it possible to send custom push notifcations to users?

Im currently developing an app in Swift. I’m at the last stage of the app where I just need to integrate push notifications to the lock screen when certain user actions occur.

I’m going for something like how Instagram sends a push notification when a new user follows you or likes your post.

My entire backend is using firebase, and i’ve looked into firebase cloud messaging and I dont know if it has the capability to perform notifications like this.

I’ve watched tutorials and read documentation and I know you can push notifications to users from the console but I’m looking for notifications to be published and pushed based off specific user actions.

I know this is a very broad questions so what I want to know is:

A) Are notifications like instagram possible through Firebase cloud messeging?

B) If not, can you point me in the direction of how to figure this out?

Thank you!