Open mikamarkus opened 3 years ago
Hi,
I am not sure what the problem might be here, I don't have any issues in this area.
Would you please try to route vie the action
with the method. E.g
Meteor.call('userPushNotification', {
title: 'Notification title',
body: 'Notification Body',
badge: 1,
userIds: ['xxxxx', 'xxxxxxxxxx'],
action: '/your_url'
})
I'm trying to trigger routing action via following function:
CordovaPush.push.on('notification', data => { // Route somewhere according to parameter })
When I'm clicking the notification, my listener function does not get triggered, because Cordova.js dies after trying to set badge on line 29. I think it's because 'once' function does not exists anymore after removing deprecated raix -packages in last version.
Console error:
Any suggestions?
activitree:push version. 2.0.8