Hello,
I don't know if someone still follows this post, but I want to share my experience with Delphi push notifications:
Using 10.4 to create an Android app, when running the following code :
uses
System.PushNotification;
PushService := TPushServiceManager.Instance.GetServiceByName(TPushService.TServiceNames.FCM);
PushService was always nil.
I tried everything I found on the internet, but nothing worked.
The magical solution:
use
FMX.PushNotification.Android, System.PushNotification;
I hope this will save some time for someone.