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?
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?
Hello! Could you clarify what did you add on this event? What libraries version do you use? What device you use to test?
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');
Hi Kevin,
Does alert works? Is Push notification delivered?
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.
Kevin,
When did it work OK last time? Did you change anything? When did it stop working?
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.
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.
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?
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.