You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Error in Success callbackId: PushNotification270011709 : TypeError: undefined is not a function (near '...this.once...')
cordova.js:1540
setBadge@http://localhost:12688/__cordova/packages/activitree_push.js?hash=7a9a9ac94bc9741966430eda9a0a4236da660e6d:111:16
http://localhost:12688/__cordova/packages/activitree_push.js?hash=7a9a9ac94bc9741966430eda9a0a4236da660e6d:221:32
emit@http://localhost:12688/plugins/phonegap-plugin-push/www/push.js:295:25
success@http://localhost:12688/plugins/phonegap-plugin-push/www/push.js:56:19
callbackFromNative@http://localhost:12688/cordova.js:295:63
http://localhost:12688/plugins/cordova-plugin-wkwebview-engine/src/www/ios/ios-wkwebview-exec.js:129:35
http://localhost:12688/__cordova/packages/meteor.js?hash=65c4a13f0259405d858d17417f5e24851f0421c0:1266:27
promiseReactionJob@[native code]
raise — promise.js:763
Any suggestions?
activitree:push version. 2.0.8
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: