Q: PhoneGap GCM-|Cordova plugin I use the following  plugin: marknutter/GCM-Cordova from git hub. 
I installed this plugin on eclipse and ran it on an android device. 
I manage to register the device for GCM messages + receive messages. 
When The device receives a message from Google Cloud, it calls the onMessage event  handler, line 55, in this file: 
https://github.com/marknutter/GCM-Cordova/blob/master/src/com/cordova2/gcm/GCMIntentService.java
The event handler reaches line 77 to run this command: GCMPlugin.sendJavascript( json );
this commands supposed to send the data received to the webView of the app. 
However the static class' GCMPlugin members, are not initialized at all so, when the call to GCMPlugin.sendJavascript( json ) all the members of GCMPlugin  members are null. As a result an exception occurs and the message can't be delivered to the webView.
Anyone has an idea how to fix this ? 

A: I would not waste any time trying to run some obscure plug-ins, when there is officially supported PhoneGap plugin for push notifications: https://github.com/phonegap-build/PushPlugin. I'm using it in a couple of my apps already and it works wonders. Updates to it are pushed every couple of months.

A: If anyone is interested, I'm working on this plugin to support the latest Cordova and using the latest GCM from Google which will allow you to send push notifications to Android and iOS devices: https://github.com/gonzaloaune/GCMPushPlugin
