Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 내용
참고 자료
NotificationEvent type
PushMessageData type
clients.openWindow(url) method
openWindow(url) best practice
skipWaiting() method
skipWaiting() 관련 github issues
Firebase 공식문서 : 백그라운드 앱에 테스트 메시지 보내기
Firebase 공식문서 : 웹 앱이 백그라운드 상태일 때 메시지 처리
Medium 베이스 코드(best practice)
스택오버플로우 참고 코드
Velog 참고 코드
declare const self: ServiceWorkerGlobalScope(하지만 안썼음)
기타 사항