Page 1 of 1

Basic Push Demo not working, Phone registers OK in database, but Statistics remain at zero

Posted: Tue Jul 22, 2014 12:18 am
by Jesus Lozano

Hello,
I am configuring just your basic Push Demo, but cannot get my Android phone to receive the Push Message. I have configured "Enable" in Push Notifications. I copied the fields from the GCM Application. I generate the .apk Android file and download it to my phone. I can see my phone registering in the associated database and appearing in the Device table. One piece of information that might help: my device appears on the database when I trigger the app in my phone, but later on disappears. At any rate, I change to the "Send Push notification" tab, when I select all Android devices, one appears, which must be mine, so at least it does appear when I am trying to send the push. I hit "Send" and I receive nothing. I switch to the Statistics Tab and nothing appears there, there is no register of a Push sent. For some reason apparently nothing gets sent, although the Browser displays the pop-up message that the push was sent.
With regards to my certificate,- just in case it has something to do with this,- I just select the only one I have, which was generated via the "Generate Certificate" option in "Certificates" in "Accounts". I wanted to try the "Autogenerate" option just to see if this fixed the problem, but did not find how to enable it.
Please provide me with your guidance in how to make the Push work. This is the basic Push Demo, have not even got to try to make the Push work from a Server App.


Basic Push Demo not working, Phone registers OK in database, but Statistics remain at zero

Posted: Tue Jul 22, 2014 12:56 am
by Illya Stepanov

Hi Jesus,

Could you please clarify, have you followed this tutorial step by step: http://devcenter.appery.io/tutorials/...


Basic Push Demo not working, Phone registers OK in database, but Statistics remain at zero

Posted: Tue Jul 22, 2014 3:16 pm
by Jesus Lozano

Hello Illya,

I followed the instructions given in the Webinar "Push Notification in Action! published on March 26, 2014, URL follows:
https://www.youtube.com/watch?v=aHFVO...

The steps are the same until you arrive at the step of "Assigning Push Notifications", when you start building the UI. I will try that.

At any rate, I find it weird that my device registers OK in the database but after a while it dissapears. Is this normal? I also find it strange that the pop up message in the push says that the message was sent but the Statistics do not show any movement.

Take care,

Jesus Lozano


Basic Push Demo not working, Phone registers OK in database, but Statistics remain at zero

Posted: Tue Jul 22, 2014 4:12 pm
by Jesus Lozano

Hello Illya,

I followed the steps in the Tutorial that you pointed me too and it is working now!

Not sure if it was the action of generating another Key in Google, or just adding the Grid and the Events triggered something. The Push is working and the Statistics are correct.

Thanks!

Jesus Lozano


Basic Push Demo not working, Phone registers OK in database, but Statistics remain at zero

Posted: Tue Jul 22, 2014 4:16 pm
by Evgene Karachevtsev

Hello Jesus,

Thank you for the update!