Please update the code a/c to requirements. Sample Code Please update if any better alternative.
push notification
Is Sender ID Private in GCM push notification?
It is fine to expose sender id because it has no meaning without serverkey.
Firebase customise notification when app is in background or killed
Firebase will not call your onMessageReceived when your app is in background or killed, and you can’t customise your notification. System generated notification will show. to make firebase library to call your onMessageReived in every cases a) Foreground b) Background c) Killed you must not …
Openfire : Sending Push Notifications while recipient is offline
Problem : Sometimes push notifications are not sent while the recipient is offline. Chat Server : Openfire v4.0.4 Plugin : callbackonoffline Direct Download Link : https://www.igniterealtime.org/projects/openfire/plugins/callbackOnOffline.jar Readme.html : https://www.igniterealtime.org/projects/openfire/plugins-beta/callbackonoffline/readme.html Solution * To store messages, while the recipient is offline : Trigger — — Triggers `ofOffline` — …