4

當我在隱身模式下打開Chrome瀏覽器時,服務工作人員文件執行然後出現錯誤。Firebase通知無法在Chrome無痕模式下工作

獲得以下錯誤

messaging/permission-blocked" 
message:"Messaging: The required permissions were not granted and blocked instead. (messaging/permission-blocked)." 
stack:"FirebaseError: Messaging: The required permissions were not granted and blocked instead. (messaging/permission-blocked).↵ at d (https://www.gstatic.com/firebasejs/3.6.2/firebase-messaging.js:30:200)" 

回答

5

這在很大程度上是依賴於瀏覽器。

從Chrome方面的推論是,從用戶的角度來看,期望是不清楚的。如果您在隱身窗口中啓用了推送,然後關閉它,您是否仍然收到推送消息?

在Firefox中我有一些診斷的不同尋常的環境我對那裏的Firefox將寫入到磁盤的任何文件,這導致服務人員沒有被安裝,能,即使API是有問題的,花了有一段時間要學習它是安全設置是問題。

相關問題