LoginSignup
2
2

More than 3 years have passed since last update.

ChromeでPush通知が動作しない

Posted at

はじめに

v58だとできるのですが、v70を超えるとうまくいかないと思って調べていたら、ようやくこれだというものを見つけた

◆chromeの保護されていない通知にて通知を許可する方法
 https://teratail.com/questions/158309
  ※きっとこれと同じ現象が発生している

で、回避策として以下のサイトを見つける。
◆“unsafely-treat-insecure-origin-as-secure” の設定をGUIで行う方法について
 https://qiita.com/dmiya/items/77eadd8abdfd7282d917

簡単に動作確認してみたら、うまくいった。
これで問題が1つ解決した。。。はず。

後は参考サイトをいくつかぺたりと
◆Push.jsを使ってサイトに10分でブラウザプッシュ通知を導入する
 https://qiita.com/_mochi_fuwa/items/8b69e1a0585fa9c6bcac

◆Chrome 69からHTTPSの表記が変化!Chrome 70以降も要チェック!
 https://zenlogic.jp/aossl/browser/chrome69-https/

◆「unsafely-treat-insecure-origin-as-secure」フラグがChromeで機能しない
 https://tutorialmore.com/questions-1732472.htm

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2