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
Notification not showing..... #101
But after this nothing happen..push.on('notification', function(data) not called.
@Chitranjanbariya well you'll only get a notification when you send one via GCM. There is a sample ruby file in example/server called pushGCM.rb and you can use that to send a test push.
You will only get notifications in the status bar when the app isn't running or is in the background.
@macdonst I have a similar problem.
Actually I have been able to receive the push notifications through the JS, only when the app is in foreground.
I'm running the following CURL command
GCM answer "success: 1".
So my phone received the push notification, but did not show anything in the notification bar.
It only works when the app is in foreground: this time the JS callback is fired.
Edit: this seems related to #93
This was referenced
Sep 4, 2015
tell me when you decide to release this fix please.
However @Chitranjanbariya you will have to test to ensure that this solves your problem (it may be a different problem...)
You can do so by using my forked branch: