You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: functional-samples/cookbook.push/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ By calling a method in the sample and using an external push server website we c
13
13
1. Go to the [web push test server](https://web-push-codelab.glitch.me/) and copy the “Public Key” to the `APPLICATION_SERVER_PUBLIC_KEY` variable in background.js.
14
14
1. Load this directory in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked).
15
15
1. Click “service worker (Inactive)” on the extension to load DevTools for background.js
16
-
1. In DevTools call: `await SubscribeUserVisibleOnlyFalse();`
16
+
1. In DevTools call: `await subscribeUserVisibleOnlyFalse();`
17
17
1. Copy the output after “Subscription data to be sent to the push notification server:” and paste it into the [web push test server](https://web-push-codelab.glitch.me/) inside “Subscription to Send To” text box
0 commit comments