We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2117c61 commit 23ec90aCopy full SHA for 23ec90a
messaging/service-worker.js
@@ -10,8 +10,8 @@ function initInSw() {
10
// Give the service worker access to Firebase Messaging.
11
// Note that you can only use Firebase Messaging here. Other Firebase libraries
12
// are not available in the service worker.
13
- importScripts('https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js');
14
- importScripts('https://www.gstatic.com/firebasejs/8.10.1/firebase-messaging.js');
+ importScripts('https://www.gstatic.com/firebasejs/10.13.2/firebase-app-compat.js');
+ importScripts('https://www.gstatic.com/firebasejs/10.13.2/firebase-messaging-compat.js');
15
16
// Initialize the Firebase app in the service worker by passing in
17
// your app's Firebase config object.
0 commit comments