Firebase Cloud Messaging

Send push notifications to Android, iOS, and web applications using Firebase Cloud Messaging (FCM) from Delphi.

Capabilities

  • Send notifications to Android, iOS, and web clients
  • Topic-based and device-specific messaging
  • Data messages and notification messages
  • FCM HTTP v1 API with OAuth2 authentication
  • Batch messaging for high-throughput delivery

Delphi Example

uses
  sgcHTTP_API_Google_FCM;

var
  FCM: TsgcHTTPGoogleFCM;
begin
  FCM := TsgcHTTPGoogleFCM.Create(nil);
  FCM.GoogleOptions.ProjectId := 'my-project';
  FCM.GoogleOptions.ServiceAccountFile :=
    'service-account.json';
  // Send notification to device
  FCM.Send(DeviceToken, 'Hello!', 'Message body');
end;

Documentation & Demos

Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.

Ready to Send Push Notifications?

Download the free trial and start building in minutes.