Page 2 of 4

Problem with push

Posted: Wed Oct 09, 2013 2:06 pm
by Kevin Preston

Shared!


Problem with push

Posted: Wed Oct 09, 2013 2:07 pm
by Kevin Preston

You will notice that the Sender ID and API Key have gone again!


Problem with push

Posted: Wed Oct 09, 2013 2:30 pm
by Kateryna Grynko

Hi Kevin,

Did you do all the steps described here?
http://docs.appery.io/tutorials/sendi...
Have you enabled Google Cloud Messaging for Android?


Problem with push

Posted: Wed Oct 09, 2013 2:31 pm
by Kevin Preston

Yes, please see earlier questions and answers


Problem with push

Posted: Thu Oct 10, 2013 7:48 am
by Maryna Brodina

Hello! We entered test values (testID and testKey) for Sender ID and API Key fields. Could you please check if you see those values? Try to enter your values instead test one, save the project and try to send notification again.


Problem with push

Posted: Thu Oct 10, 2013 8:18 am
by Kevin Preston

Yes I saw your test values. I entered my values, saved the project, built it and installed on my phone. When I run it I get 'initialise - done', 'register - success' but still don't receive any pushes


Problem with push

Posted: Thu Oct 10, 2013 8:19 am
by Kevin Preston

I have just closed the project and reopened it, my keys have gone and your test ones are back!


Problem with push

Posted: Thu Oct 10, 2013 8:30 am
by Maryna Brodina

That's really strange... Could you try to create new project (just to test these fields), enter any values there, save, close and open project again.
By the way you can send us your Sender ID and API Key at a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a, we'll set them on our side so you can continue testing while we're looking into this issue.


Problem with push

Posted: Thu Oct 10, 2013 8:59 am
by Kevin Preston

Well I think I've found the problem - if you type into the Sender Id and API Key fields the values will be saved. If you paste into them then they are not saved. Given the length of the API Key I suspect most people will 'copy and paste' and then find they are not saved. I pasted the values in and then added a character at the end from the keyboard which I then deleted, the values were then saved OK, presumably you are using the keypress event to trigger the save function. What's more when I tested the newly built project the push notification arrived!


Problem with push

Posted: Thu Oct 10, 2013 9:08 am
by Maryna Brodina

Glad it's working now! Thank you for information! We'll research this problem more.