Thanks, but I don't understand : (
I have checked B4J sender from example FCMPush and I don't see anything special inside .. From what I can see it just send message by POST in JSON format to
https://fcm.googleapis.com ...
I have 40+apps some in 5 projects in firebase..
Notification need to be send when relevant event happen in backend C# API. So I will have to have multiple B4J senders ?
Also the production enviroment runs in hybrid cloud linux-windows docker containers + some native windows without docker as backups.
So I would need to distribute multiple senders accross the enviroment and somehow call them externaly from API.
It seems really complicated and time consuming in comparison with sending notifications directly by API ...
Notification are send to the topic or to the individual device - for example: "Your car is coming in 5 minutes."
When sending notifications directly from API I have 2 problems in Android reciever devices:
- messages coming when the app is on the background doesn't have icon
- and FirebaseMessaging reciever is geting killed by OS in some point when the app is not running
I don't understand how B4J Sender is handling these issues ?
- I have examined the nuget I am using and it seems that it is doing exactly same thing like B4J..
HttpRequestMessage(HttpMethod.Post, "https://fcm.googleapis.com/v1/projects/" + settings.ProjectId + "/messages:send");
Please explain ...
Thank you