問題タブ [safari-push-notifications]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
233 参照

safari-push-notifications - Node.js を使用した Safari プッシュ通知

以下にいくつか質問があります

  1. node.jsWeb サイトの証明書を作成した後に使用して、Safari プッシュ通知を統合する方法。
  2. 認証トークンの取得方法。

  3. デバイストークン

実際の流れを教えてください。このリンクhttps://github.com/connorlacombe/Safari-Push-Notificationsをたどったのですが、バージョンの問題がいくつかあります。

0 投票する
0 に答える
30 参照

flutter - フラッター Web アプリのサファリでプッシュ通知をサポートする方法

iOS、Android、およびWebで実行されているフラッタープロジェクトがあります。

今の私の課題は、Safari ブラウザー (webapp flutter) でプッシュ通知をサポートすることです。プッシュ通知でカスタム ペイロードを送信できるはずです。

以下の公式ドキュメントを読みましたが、このアプローチでカスタムペイロードを渡す方法がわかりません。また、プッシュ通知を処理するために定義されたコールバックもありません

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html

私を助けてください。