I have this app, and I've enabled push notifications on it. I'm able to send notifications through the Firebase console, but what I really wanna do, is to be able to send a notification to specific users, when an action is taken on the app.. I've tried to follow the Firebase docs, but the documentations about this, seems really poor..
It tells you to use this method:
FIRMessaging.messaging().sendMessage(message: ([NSObject : AnyObject]), to: (String), withMessageID: (String), timeToLive: (Int64))
But I can't really figure out what to put in as parameters, and as mentioned, the documentation doesn't really help much.. Have anyone tried using this method, and if yes, how is it done? Appreciating any help, thanks!