没有图标的 Web 推送通知 - chrome
Web Push notification without icon - chrome
当我发送没有图标的通知时,它看起来像这样:
Web push without icon
Json:
{"title":"Example notification", "options":{"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent scelerisque ligula velit, in luctus sem varius eu. Maecenas efficitur sem in maximus"}}
如何去掉空的space?
您应该始终包含该图标。你无法摆脱空 space.
当我发送没有图标的通知时,它看起来像这样: Web push without icon
Json:
{"title":"Example notification", "options":{"body":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent scelerisque ligula velit, in luctus sem varius eu. Maecenas efficitur sem in maximus"}}
如何去掉空的space?
您应该始终包含该图标。你无法摆脱空 space.