데스크탑 알림 조사(with RoR)
데스크톱 알림
https://www.lanches.co.jp/blog/6723
https://qiita.com/otolab/items/72ac10a0880ea411d77e
https://tech.speee.jp/entry/2017/12/21/111404
https://tech.mercari.com/entry/2017/12/19/workbox
대략적인 절차
프로그램 라이브러리
Gem
webpush
Ruby
의 응용에 Web Push
의 기능을 추가합니다.생성
VAPID Key
.serviceworker-rails
Rails
에 대응PWA
.Assets
등은 시작할 때 컴파일되어 동적 으로 파일 이름을 결정하기 때문에 원시적Service Worker
으로 대응할 수 없다.Npm
Workbox
Google
제PWA
의 창고를 구축하는 데 쓰인다.PWA
와 관련된 여러 가지를 간단하게 실현할 수 있다.키워드
VAPID (Voluntary Application Server Identification)
https://qiita.com/tomoyukilabs/items/9346eb44b5a48b294762
https://tools.ietf.org/html/rfc8292
Abstract
An application server can use the Voluntary Application Server
Identification (VAPID) method described in this document to
voluntarily identify itself to a push service. The "vapid"
authentication scheme allows a client to include its identity in a
signed token with requests that it makes. The signature can be used
by the push service to attribute requests that are made by the same
application server to a single entity. The identification
information can allow the operator of a push service to contact the
operator of the application server. The signature can be used to
restrict the use of a push message subscription to a single
application server.
수수께끼
manifest.json
정보원에 따라 필요하거나 필요하지 않습니다.Reference
이 문제에 관하여(데스크탑 알림 조사(with RoR)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/loasnir/items/4399839db47c044371e2텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)