Kevin Preston
Posts: 0
Joined: Wed Oct 09, 2013 12:18 pm

Push notification event not firing

The push notification event no longer seems to fire. The push is received OK and when you click on the notification you are taken to the app but the event doesn't fire. This used to work OK, has something changed in the new version?

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

Push notification event not firing

Hello! Could you clarify what did you add on this event? What libraries version do you use? What device you use to test?

Kevin Preston
Posts: 0
Joined: Wed Oct 09, 2013 12:18 pm

Push notification event not firing

Maryna,
Testing on Samsung Galaxy 4 Android 4.3
Libraries V2
In the push notification event I want to navigate to a particular page, this used to work but now doesn't. To test I just added the alert

alert("START push:" + data.aps.alert);
Appery.navigateTo('myMessages');

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

Push notification event not firing

Hi Kevin,

Does alert works? Is Push notification delivered?

Kevin Preston
Posts: 0
Joined: Wed Oct 09, 2013 12:18 pm

Push notification event not firing

Katya,
Yes notification is delivered OK. When you click on notification the app is opened but there is no event fired, I want to navigate to a particular page when the event fires, this was working fine before.

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

Push notification event not firing

Kevin,

When did it work OK last time? Did you change anything? When did it stop working?

Kevin Preston
Posts: 0
Joined: Wed Oct 09, 2013 12:18 pm

Push notification event not firing

Katya,
It was working three weeks ago, see last posts here
https://getsatisfaction.com/apperyio/...

I've been working on other parts of the app in the meantime and when I came back to this yesterday found it didn't work any more.
I did upgrade at some point (not sure exactly when) and have just tried going back to V1.2 libraries and it now works again, so the problem is in V2.0 libraries.

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

Push notification event not firing

Kevin,

Thank you for the update! Yes, there could be a problem after changing version. It's better to continue work with the current one.

Kevin Preston
Posts: 0
Joined: Wed Oct 09, 2013 12:18 pm

Push notification event not firing

Katya,
This is not really a solution though. I have learnt from experience it is not a good idea to get behind with versions as at some stage you will have to update and the further behind you are the more trouble you will have.
Will you be fixing this in V2.0 and how will I know when you have?

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

Push notification event not firing

Kevin,

Could you please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? This works for us with any version.

Return to “Issues”