I'm trying to piece together the general workflow of giving a user push notifications via the service worker.
I have followed this Google Developers service worker push notifications tutorial and am currently thinking about how I can implement this sort of thing in a small user based web app for experimentation.
In my mind, the general workflow of an web app supporting push notifications is as follows:
Basically I just want to confirm that my general implementation thoughts with this technology are accurate, else get feedback if I am missing something.
答案 0 :(得分:8)
你非常喜欢,有一些细节并不是很正确(但这主要是措辞,可能是为了个人品味)。