Good to hear
Well, it's a solution, apparently? I assume whatever implementation you are using sends a local notification, which to my mind is unnecessary. I use Delphi's built-in FCM support, however even if the messages are not going via FCM, it should be a simple matter of subscribing to TPushRemoteNotificationMessage, e.g.:
TMessageManager.DefaultManager.SubscribeToMessage(TPushRemoteNotificationMessage, PushRemoteNotificationMessageHandler);
..and in the handler:
procedure TForm1.PushRemoteNotificationMessageHandler(const Sender: TObject; const M: TMessage);
begin
if M is TPushRemoteNotificationMessage then
// Use this value (which is JSON): TPushRemoteNotificationMessage(M).Value.Notification
end;