quickstart-js icon indicating copy to clipboard operation
quickstart-js copied to clipboard

anonymous function not written before payload while reciving the messege

Open adilKhan72 opened this issue 7 years ago • 1 comments

messaging.onMessage((payload) while receiving the message in the index page by onMessage event the anonymous need to be written before calling payload in the round brackets.

adilKhan72 avatar Jul 10 '19 15:07 adilKhan72

@adilKhan72 can you please provide a bit more context? I'm not sure what you mean.

I'm able to run the messaging quickstart and receive both foreground and background messages without issue.

jhuleatt avatar Aug 08 '19 19:08 jhuleatt