-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Messagingを実装 #49
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
829953e
to
5c1bc21
Compare
Visit the preview URL for this PR (updated for commit 70331bc): https://todo-real-c28fa--pr49-feat-46-cloud-messag-uepppype.web.app (expires Tue, 03 Dec 2024 06:35:53 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: cbf065b4d5e2f44e47cd594ff42f749fc108f410 |
5c1bc21
to
1373837
Compare
ビルド後にローカルでhttp-serverを立てても受信できた |
f02f6ee
to
e050793
Compare
3628df9
to
6f651ec
Compare
6f651ec
to
27a4a8f
Compare
27a4a8f
to
8b9f856
Compare
スマホの場合フォアグラウンドの通知が来ないのと、通知を押してもタブが開かれない |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes Cloud Messagingをテスト
概要
Firebase Cloud Messagingを用いた通知の送受信機能の作成
変更内容
public\messaging-sw.js
のコードを実行し、通知を受信するsrc\utils\getNotification.ts
のonMessage
で通知を受信現時点で通知が2回届く問題が発生しているので解消したい解消済み確認方法
以下のコードを実行することで通知を送信することができる
チェックリスト