move messaging definition and onMessage call to inside initNotifications
move messaging definition and onMessage call to inside initNotifications

googleinterns/step14-2020,googleinterns/step14-2020,googleinterns/step14-2020,googleinterns/step14-2020