I am trying to use Firebase Cloud Messaging to make an instant message app.
In the document it said sending the notification if the app is in background, it will shows the notification on the notification bar. Otherwise it will fire up OnMessageReceived and not showing the notification in the bar,.
Is there any way in Xamarin I can have the control to show / not show the notification when the app is in background?
For example, when people send messages in the chatroom and User A has the app in background, I don't want to show notification to the User A ( because the people in the chatroom is having conversation that not really related to User A, so User A don't want to get the notification spam and want it silent).
The User A will only interest to the conversation when the app is in foreground and want to see the message.