@braze/service-worker v5.9.0
Install
$ npm install --save @braze/web-sdk
$ npm install --save @braze/service-workerThis will install the Braze Service Worker files into ./node_modules/@braze/service-worker where you can reference them locally. Note that the Braze Service Worker is only meant to be used along with the Braze Web SDK.
Usage
In your build process, copy node_modules/@braze/service-worker/service-worker.js to your web application's public root directory.
Then, using the Web SDK, provide the serviceWorkerLocation initialization option with the path to your service worker.
See our documentation pages for steps to integrate push notifications into your website using the Braze Web SDK.
10 months ago
10 months ago
1 year ago
1 year ago
8 months ago
12 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
3 years ago
3 years ago
3 years ago
4 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago