Yes we will install firbase via npm and in this post i show the both of them and for the push notification we req both bcoz we are importing firebase script in service worker so it will run in background and one is install via npm which is going to use in forground...
See the video tutorial for more clear understanding
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great tutorial. Very detailed. One question - isn't it better to install Firebase Messaging via NPM instead of importing the scripts?
Yes we will install firbase via npm and in this post i show the both of them and for the push notification we req both bcoz we are importing firebase script in service worker so it will run in background and one is install via npm which is going to use in forground...
See the video tutorial for more clear understanding