Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Android: No notification displayed on device. Notification event never called. #86
I've made a blank Cordova application and copied the files from example/www, I've added the push plugin using
I'm only trying to test the plugin with Android at the moment.
The app starts, after a few seconds it displays the registration ID. I copy it into an email and send it to myself. I paste that into a PushSharp application and send a test notification. Using Fiddler I can see the HTTP request to GCM and it comes back with a "success" response:
In LogCat I can see the message is received on the device, but it isn't displayed in the notification area when the app is the background and the notification event is not called. If the app is in the foreground, still the notification event never gets called.
This is the output from the the Android Device Monitor when the message is received:
I'm not sure what else I need to do to get this to work, or whether it's a bug?