I am working on an iOS and Android project, and using Worklight unified push notifications.
The push is now received, but I have the following behaviour:
- in Android, every time I login, I receive an old push notification.
- in iOS, After I open a push, it is not removed from the iOS notification bar. the badge also still there.
I have a doubt that this is related to onPoll option, in the event source, but when I add the following to my eventSource declaration:
poll : {
interval : 3,
onPoll : gotNotificationFromBackEnd,
},
I receive this error upon deployment:
Failed to deploy adapter from the database (archive: '/var/folders/8p/qylwgy6j2wq4bktw4r5hxqvr0000gp/T/myAdapter5583128211713256219.adapter').
Any help, explanation?