Firemonkey GCM notification inside local android service

  

Is it possible possible to receive Google Cloud Messages within a local android service (TAndroidService)?

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.

When using TPushServiceConnection in an application it only worked when I included FMX.PushNotification.Android. But when I include FMX.PushNotification.Android in a service I get the error: “Activity not found, maybe you are in a service”

Comments are closed.