From 77570690968cd4ef3dc8f11b7ae48adcd3351c81 Mon Sep 17 00:00:00 2001 From: Robert Ing Date: Thu, 18 Jan 2024 14:48:23 -0500 Subject: [PATCH] docs: Update README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 626595e..24a6a41 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,10 @@ window.braze.destroyFeed(); ``` Step 4: Push Notifications via service-worker.js -If you use Push Notifications, we have updated the `service-worker.js` file. In our testing, Braze’s push notifications work as expected regardless of what version of the service-worker is used, but we recommend updating this file to ensure future compatibility. In your `service-worker.js` file, update the code to reference `https://static.mparticle.com/sdk/js/braze/service-worker-4.2.0.js` instead of `https://static.mparticle.com/sdk/js/braze/service-worker-3.5.0.js`. Your `service-worker.js` file should now contain: +If you use Push Notifications, we have updated the `service-worker.js` file. In our testing, Braze’s push notifications work as expected regardless of what version of the service-worker is used, but we recommend updating this file to ensure future compatibility. In your `service-worker.js` file, update the code to reference `https://static.mparticle.com/sdk/js/braze/service-worker-4.2.1.js` instead of `https://static.mparticle.com/sdk/js/braze/service-worker-3.5.0.js`. Your `service-worker.js` file should now contain: ```javascript -self.imports('https://static.mparticle.com/sdk/js/braze/service-worker-4.2.0.js') +self.imports('https://static.mparticle.com/sdk/js/braze/service-worker-4.2.1.js') ``` ### Transition from @mparticle/web-appboy-kit to @mparticle/web-braze-kit @@ -60,4 +60,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License.