Delphi 10 Seattle Android service (TAndroidService) receiving GCM


Is it possible possible to receive Google Cloud Messages within an android service (TAndroidService)?
It works fine in an application, but when I try to do the same in an android service (local service) I always get the same error…

I have tried it with TKinveyProvider and TPushServiceConnection, but when I debug it, I get an “Activity not found, maybe you are in a service” error.

Comments are closed.