push-fcm-plugin icon indicating copy to clipboard operation
push-fcm-plugin copied to clipboard

firebase dependency

Open johnjjung opened this issue 8 years ago • 2 comments

I think you should add firebase as a dependency

johnjjung avatar Jan 11 '18 20:01 johnjjung

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.

Nickersoft avatar Feb 02 '18 03:02 Nickersoft

I think @johnjjung is saying that if you install plugin via npm now, it complains it doesn't have the firebase package.

truekonrads avatar Feb 21 '18 13:02 truekonrads