activitree / meteor-push

Meteor Push Notifications for Cordova and Web/PWA with Firebase (FCM).
MIT License
27 stars 19 forks source link

iOS error after clicking on notification #29

Closed jamauro closed 3 years ago

jamauro commented 3 years ago
Screen Shot 2020-10-04 at 2 48 38 PM

Seeing this after clicking on the notification. Any ideas?

paulincai commented 3 years ago

If you activate the debugger, what do you get in this area?! https://github.com/activitree/meteor-push/blob/d9f15355ca8a2cca4c67e1c37f9057e5d00628a5/lib/client/cordova.js#L86

You can add more console.logs to try to determine where the error occurs. this.push is a global variable coming from the cordova push plugin. The issue may be in activitree:push (if possible introduced with renouncing the old event emitter and adding the new emitter library in the last update) or in the plugin itself. When you overwrite things in a meteor packages, you need to restart your project for those overwrites to kick in whether you do it on the original installation or in your local 'packages' folder.

paulincai commented 3 years ago

Closed due to lack of interaction