GCM only knows your application, not the contents of the GCM payload.
You need a general receiver that can analyze the intent obtained for specific data, which identifies it as โLocalsโ or โAnalysisโ, then redirects that intent to the appropriate recipient for any service.
GCM is based on "registering applications" not on "registering application functions" - it will be delivered to your application, not to a specific recipient in your application.
source share