Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Push Notifications not working

I've completed the push notification tutorial, and push notifications are not working.

I've made the sample aplication and generated the APK with my keys and when i try i get DONE in push initialize and SUCCESS in registration, but when i send a push from appery.io site, nothing appears in the message label.

Furthermore, y the database only one device is added, if i try the app in another phone it gives me succes registration but no phone is added to the DB, only accepts one row. In the db i see another strange thing, the token colum appears as "undefined".

waiting for your answer, thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Push Notifications not working

Hi Pau,

Could you please clarify when you completed the tutorial? There were some significant changes in Push Notifications mechanism.

Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Push Notifications not working

I did the tutorial yestday morning

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Push Notifications not working

Pau,

Please share the application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a.

Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Push Notifications not working

Ok, i'll do as soon as the maintenance ends.

Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Push Notifications not working

The app is already shared. I'll wait for your answer.
AppName(TrafficAdvisor)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Push Notifications not working

Hello! Thank you for sharing. Could you post or send at a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a username and password?

Pau San Juan
Posts: 0
Joined: Wed Nov 06, 2013 9:35 am

Push Notifications not working

Hi, Maryna the pushtest page is separated from the app, you dont need the login data. I've set it as start page, so you can check it. Thank you

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Push Notifications not working

Hello! Thank you! We're working on it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Push Notifications not working

Hello!
1) Sender ID for push notifications is not filled in
2) On Push notification event you have the following code preAppery("messageLabel").text(data.aps.alert);/pre but the Label name is lblMessage. Please rename Label or change the code.

Return to “Issues”