Tyler Nickerson
Tyler Nickerson
Is there a stack trace of any kind? What does your full code look like?
Hey @johnjjung, the ServiceWorker needs Firebase in order to work, and as far as I know you can't import `node_modules` into a ServiceWorker script.
Could you post your code? Are you getting any console errors?
What environment are you loading it in? Node? The following should be the correct import statement: ```javascript const PushFCM = require('push-fcm-plugin'); ```
Could you please elaborate?
Oh shucks, you're right. The `notification` variable is never being assigned. I'll start working on a fix as soon as I can. Shouldn't be too hard.
Thanks for the explanation
I apologize that I've been sort of MIA for these past few months, but I am currently working on merging in a change that will fix this issue.
@nickmask Mobile notifications never stopped working (unless there is some issue I am not aware of). This issue had to do with notification events not firing and throwing console errors...
Hi guys. I'm currently looking into an issue where the `link` option doesn't seem to be operational on the Push homepage. `onClick` is in the [same block of code](https://github.com/Nickersoft/push.js/blob/master/src/serviceWorker.js#L34) so...