Issue with GCM Push notification service DELPHI XE6


I have a problem with the GCM Push notification on delphi xe6.
I use the code in this post Start android activity before passing the GCM Intent (using the standars components in the AndroidManifest.xml) for my own app and I manage to use the service to receive the notification even if the app is not running.

But I have a problem when I receive the notification and that is i cant capture the onclick event, so my apps open (great) but it doesn’t do the desire action.

Here is my AndroidManifest.xml

<receiver android:name=”com.embarcadero.gcm.notifications.GCMNotification” android:exported=”true”>
<action android:name=”” />
<category android:name=”%package%” />
<service android:name=”com.embarcadero.gcm.notifications.GCMIntentService”>

If I use the code in the post, i can detect when the user click on the notification, but I don’t know how to do it with the standard components.

Any ideas?


Comments are closed.