{"id":3587,"date":"2026-11-27T10:08:01","date_gmt":"2026-11-27T04:38:01","guid":{"rendered":"https:\/\/larapush.com\/blog\/?p=3587"},"modified":"2026-11-27T10:08:01","modified_gmt":"2026-11-27T04:38:01","slug":"declarative-web-push","status":"publish","type":"post","link":"https:\/\/larapush.com\/blog\/declarative-web-push\/","title":{"rendered":"What Is Declarative Web Push and Does It Replace Service Workers?"},"content":{"rendered":"\n<p><strong>Declarative Web Push is a newer form of web push where the push message itself describes the notification, so the browser can show it without running a service worker. Apple shipped it in Safari for iOS and iPadOS 18.4 and macOS 18.5 in 2025. Firefox 162 adds it in December 2026; Chrome hasn&#8217;t shipped it.<\/strong><\/p>\n\n\n\n<p>I&#8217;ve written about service workers a lot on this blog, because classic web push can&#8217;t work without one. Declarative Web Push changes that rule for Safari users, and soon for Firefox users too. Here&#8217;s what it is, how the message format works, which browsers support it as of November 2026, and whether you should change anything today.<\/p>\n\n\n\n<p>Key facts at a glance:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Proposed by:<\/strong> WebKit (Apple), announced in the <a href=\"https:\/\/webkit.org\/blog\/16535\/meet-declarative-web-push\/\" target=\"_blank\" rel=\"noreferrer noopener\">Meet Declarative Web Push<\/a> post on 27 March 2025.<\/li>\n\n\n\n<li><strong>Supported:<\/strong> Safari on iOS and iPadOS 18.4+ (Home Screen web apps) and Safari 18.5+ on macOS.<\/li>\n\n\n\n<li><strong>Coming:<\/strong> Firefox 162, scheduled for 8 December 2026, per the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Mozilla\/Firefox\/Releases\/162\" target=\"_blank\" rel=\"noreferrer noopener\">Firefox 162 developer release notes<\/a>.<\/li>\n\n\n\n<li><strong>Not supported:<\/strong> Chrome, Edge and other Chromium browsers, as of November 2026.<\/li>\n\n\n\n<li><strong>Magic value:<\/strong> a top-level &#8220;web_push&#8221;: 8030 field opts the message into declarative handling.<\/li>\n<\/ul>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#What_is_Declarative_Web_Push\" title=\"What is Declarative Web Push?\">What is Declarative Web Push?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#Why_did_Apple_create_Declarative_Web_Push\" title=\"Why did Apple create Declarative Web Push?\">Why did Apple create Declarative Web Push?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#What_does_a_Declarative_Web_Push_message_look_like\" title=\"What does a Declarative Web Push message look like?\">What does a Declarative Web Push message look like?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#How_do_you_subscribe_without_a_service_worker\" title=\"How do you subscribe without a service worker?\">How do you subscribe without a service worker?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#Which_browsers_support_Declarative_Web_Push\" title=\"Which browsers support Declarative Web Push?\">Which browsers support Declarative Web Push?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#Does_Declarative_Web_Push_replace_service_workers\" title=\"Does Declarative Web Push replace service workers?\">Does Declarative Web Push replace service workers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#Does_it_change_web_push_on_iPhone\" title=\"Does it change web push on iPhone?\">Does it change web push on iPhone?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#Where_LaraPush_fits\" title=\"Where LaraPush fits\">Where LaraPush fits<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/#Frequently_asked_questions\" title=\"Frequently asked questions\">Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Declarative_Web_Push\"><\/span>What is Declarative Web Push?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Declarative Web Push is a way to send a web push notification where the payload is the notification. Instead of waking JavaScript to build the notification, the browser reads a standard JSON format and displays it directly.<\/p>\n\n\n\n<p>In classic web push, the browser receives an encrypted push message, starts your service worker and fires a push event. Your code then parses the data and calls showNotification(). If that code fails or runs late, nothing appears. Safari treats a missing notification as a silent push and can revoke the subscription.<\/p>\n\n\n\n<p>With Declarative Web Push, the browser has everything it needs in the message. A service worker is optional. If one is installed, it can still change the notification, but the original message acts as a fallback if the script fails.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_did_Apple_create_Declarative_Web_Push\"><\/span>Why did Apple create Declarative Web Push?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>WebKit gave two main reasons: battery life and privacy. Running JavaScript for every notification costs energy, and a buggy service worker can lose a subscriber through the silent push penalty.<\/p>\n\n\n\n<p>Privacy is the second reason. Safari&#8217;s Intelligent Tracking Prevention (ITP) deletes website data, including service worker registrations, for sites you haven&#8217;t visited in a while. In classic web push, losing the service worker breaks the subscription. With Declarative Web Push, the subscription keeps working even after the service worker is gone, according to WebKit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_a_Declarative_Web_Push_message_look_like\"><\/span>What does a Declarative Web Push message look like?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>A declarative message is JSON with a web_push value of 8030 and a notification object. The notification needs at least a title and a navigate URL, which is the page that opens when someone taps it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"web_push\": 8030,\n  \"notification\": {\n    \"title\": \"Back in stock\",\n    \"body\": \"The running shoes you saved are back in your size.\",\n    \"navigate\": \"https:\/\/example.com\/products\/running-shoes\",\n    \"lang\": \"en-US\",\n    \"dir\": \"ltr\",\n    \"silent\": false\n  }\n}<\/code><\/pre>\n\n\n\n<p>The 8030 value refers to <a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc8030\" target=\"_blank\" rel=\"noreferrer noopener\">RFC 8030<\/a>, the Web Push protocol. Most other options from the Notifications API can also go inside the notification object. Home Screen web apps can also set an app_badge value to update the icon badge.<\/p>\n\n\n\n<p>Everything else stays the same. You still encrypt the payload, sign the request with VAPID keys and send it to the subscription endpoint. My explainer on <a href=\"https:\/\/larapush.com\/blog\/vapid-keys-web-push\/\">VAPID keys for web push<\/a> covers that part.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_you_subscribe_without_a_service_worker\"><\/span>How do you subscribe without a service worker?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You subscribe through window.pushManager, which Declarative Web Push adds to the page itself. Classic web push only offers pushManager on a service worker registration.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const subscription = await window.pushManager.subscribe({\n  userVisibleOnly: true,\n  applicationServerKey: vapidPublicKey\n});\n\/\/ send subscription.toJSON() to your server as usual<\/code><\/pre>\n\n\n\n<p>If you also have a service worker registered at the root of your domain, it shares the same subscription. However, removing that service worker doesn&#8217;t remove the subscription. Always check that window.pushManager exists before using it, because Chrome doesn&#8217;t have it yet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Which_browsers_support_Declarative_Web_Push\"><\/span>Which browsers support Declarative Web Push?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Only Apple&#8217;s Safari supports it in a stable release as of November 2026. Firefox support is in the Firefox 162 beta and ships on 8 December 2026. Chromium has an open tracking issue but no release.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Browser<\/th><th>Declarative Web Push<\/th><th>window.pushManager<\/th><th>Notes (checked November 2026)<\/th><\/tr><\/thead><tbody><tr><td>Safari on iOS and iPadOS<\/td><td>Yes, 18.4+<\/td><td>Yes, 18.4+<\/td><td>Home Screen web apps only<\/td><\/tr><tr><td>Safari on macOS<\/td><td>Yes, 18.5+<\/td><td>Yes, 18.4+<\/td><td>Safari 18.5 shipped May 2025<\/td><\/tr><tr><td>Firefox<\/td><td>Firefox 162<\/td><td>Firefox 162<\/td><td>Stable release due 8 December 2026<\/td><\/tr><tr><td>Chrome, Edge, Opera<\/td><td>No<\/td><td>No<\/td><td>Use classic web push with a service worker<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The table uses MDN&#8217;s browser compatibility data and the Firefox release notes. For the wider picture, see my list of <a href=\"https:\/\/larapush.com\/blog\/browsers-that-support-web-push\/\">browsers that support web push<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_Declarative_Web_Push_replace_service_workers\"><\/span>Does Declarative Web Push replace service workers?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Not yet. Chrome, Edge and other Chromium browsers still need a service worker, so you should keep yours. What changes is the best way to format your messages.<\/p>\n\n\n\n<p>WebKit recommends a backward-compatible approach, and I agree with it:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Send every push payload in the declarative JSON format.<\/li>\n\n\n\n<li>Update your service worker&#8217;s push handler to read the same notification fields and call showNotification().<\/li>\n\n\n\n<li>Open the navigate URL in your notificationclick handler, as in my guide to <a href=\"https:\/\/larapush.com\/blog\/open-url-on-web-push-click\/\">opening a URL on web push click<\/a>.<\/li>\n\n\n\n<li>Keep VAPID keys and the service worker location unchanged so existing subscriptions keep working.<\/li>\n<\/ol>\n\n\n\n<p>Safari then shows the message directly, while Chrome and older browsers run your script as before. My guide to the <a href=\"https:\/\/larapush.com\/blog\/service-worker-for-web-push\/\">service worker for web push<\/a> covers the push handler side.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Does_it_change_web_push_on_iPhone\"><\/span>Does it change web push on iPhone?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>It makes iPhone web push more reliable, but the main rule stays the same. On iOS and iPadOS, web push still works only for sites added to the Home Screen as web apps, and the user must allow notifications from inside that app.<\/p>\n\n\n\n<p>What improves is resilience. A Home Screen app&#8217;s subscription no longer depends on a service worker that ITP might delete, and a failed script no longer means a missing notification. My step-by-step on <a href=\"https:\/\/larapush.com\/blog\/how-to-get-web-push-working-on-iphone\/\">getting web push working on iPhone<\/a> covers the setup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_LaraPush_fits\"><\/span>Where LaraPush fits<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>LaraPush is a self-hosted web push panel that you install on your own VPS, with a one-time licence from $499 (check <a href=\"https:\/\/larapush.com\/pricing\/\">LaraPush pricing<\/a>). It supports iOS Safari web apps on iOS 16.4 or later through its standard service worker setup, described on the <a href=\"https:\/\/larapush.com\/ios-push\/\">iOS push page<\/a>. I couldn&#8217;t confirm whether it sends the declarative format yet, so ask <a href=\"https:\/\/support.larapush.com\/\">LaraPush support<\/a> if that matters to you. The trade-offs are no free plan and a server you maintain. For other options, see my roundup of the <a href=\"https:\/\/larapush.com\/blog\/best-push-notification-services-and-tools\/\">best push notification services and tools<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1764234000000\"><strong class=\"schema-faq-question\">Is Declarative Web Push a web standard?<\/strong> <p class=\"schema-faq-answer\">It&#8217;s on the standards track. WebKit proposed changes to the W3C Push API and the WHATWG Notifications API, and Mozilla has implemented it for Firefox 162. Chrome hasn&#8217;t shipped it as of November 2026. Treat it as an enhancement for supporting browsers, not a replacement for classic web push.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764234001111\"><strong class=\"schema-faq-question\">Do I need an Apple Developer account for Declarative Web Push?<\/strong> <p class=\"schema-faq-answer\">No. WebKit says web push on Apple platforms, including the declarative format, uses Apple Push Notification service without Apple Developer Program membership. You need HTTPS, VAPID keys and a subscription, just as with classic web push in other browsers.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764234002222\"><strong class=\"schema-faq-question\">Can a service worker still change a declarative notification?<\/strong> <p class=\"schema-faq-answer\">Yes. If a service worker is installed, Safari still fires a push event and passes the proposed notification. Your code can show a replacement notification. If it fails or runs too slowly, Safari shows the original declarative notification as a fallback, so the subscriber still sees something.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764234003333\"><strong class=\"schema-faq-question\">Will my existing Safari subscribers need to resubscribe?<\/strong> <p class=\"schema-faq-answer\">No. Declarative messages go to the same push subscriptions you already have. Sending to an existing endpoint works exactly as before; only the payload format changes. Just keep your VAPID keys and service worker location the same, because changing those can break existing subscriptions.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764234004444\"><strong class=\"schema-faq-question\">Does Declarative Web Push allow silent notifications?<\/strong> <p class=\"schema-faq-answer\">No. Every declarative message must describe a visible notification with a title and navigate URL. That&#8217;s why WebKit doesn&#8217;t apply its silent push penalty to these messages: there&#8217;s always something shown to the user. If you need background data updates, web push isn&#8217;t the right tool.<\/p> <\/div><\/div>\n","protected":false},"excerpt":{"rendered":"Declarative Web Push lets Safari show notifications without a service worker. The JSON format, browser support in 2026, and what to change.","protected":false},"author":7,"featured_media":3593,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[62],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Is Declarative Web Push and Does It Replace Service Workers?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/larapush.com\/blog\/declarative-web-push\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is Declarative Web Push and Does It Replace Service Workers?\" \/>\n<meta property=\"og:description\" content=\"Declarative Web Push lets Safari show notifications without a service worker. The JSON format, browser support in 2026, and what to change.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/larapush.com\/blog\/declarative-web-push\/\" \/>\n<meta property=\"og:site_name\" content=\"LaraPush Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-27T04:38:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ritesh Das\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ritesh Das\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/\"},\"author\":{\"name\":\"Ritesh Das\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\"},\"headline\":\"What Is Declarative Web Push and Does It Replace Service Workers?\",\"datePublished\":\"2026-11-27T04:38:01+00:00\",\"dateModified\":\"2026-11-27T04:38:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/\"},\"wordCount\":1320,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg\",\"articleSection\":[\"Web Push Notifications\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/larapush.com\/blog\/declarative-web-push\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/\",\"url\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/\",\"name\":\"What Is Declarative Web Push and Does It Replace Service Workers?\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg\",\"datePublished\":\"2026-11-27T04:38:01+00:00\",\"dateModified\":\"2026-11-27T04:38:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234000000\"},{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234001111\"},{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234002222\"},{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234003333\"},{\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234004444\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/larapush.com\/blog\/declarative-web-push\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg\",\"width\":1200,\"height\":675,\"caption\":\"Illustration of declarative web push, a Home Screen web app receiving a notification straight from the cloud with a JSON card\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/larapush.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is Declarative Web Push and Does It Replace Service Workers?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/larapush.com\/blog\/#website\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"name\":\"LaraPush Blog\",\"description\":\"Stay Ahead, Stay Notified with LaraPush!\",\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/larapush.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/larapush.com\/blog\/#organization\",\"name\":\"LaraPush\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"width\":280,\"height\":60,\"caption\":\"LaraPush\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\",\"name\":\"Ritesh Das\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"caption\":\"Ritesh Das\"},\"url\":\"https:\/\/larapush.com\/blog\/author\/riteshdas\/\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234000000\",\"position\":1,\"url\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234000000\",\"name\":\"Is Declarative Web Push a web standard?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It's on the standards track. WebKit proposed changes to the W3C Push API and the WHATWG Notifications API, and Mozilla has implemented it for Firefox 162. Chrome hasn't shipped it as of November 2026. Treat it as an enhancement for supporting browsers, not a replacement for classic web push.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234001111\",\"position\":2,\"url\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234001111\",\"name\":\"Do I need an Apple Developer account for Declarative Web Push?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. WebKit says web push on Apple platforms, including the declarative format, uses Apple Push Notification service without Apple Developer Program membership. You need HTTPS, VAPID keys and a subscription, just as with classic web push in other browsers.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234002222\",\"position\":3,\"url\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234002222\",\"name\":\"Can a service worker still change a declarative notification?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. If a service worker is installed, Safari still fires a push event and passes the proposed notification. Your code can show a replacement notification. If it fails or runs too slowly, Safari shows the original declarative notification as a fallback, so the subscriber still sees something.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234003333\",\"position\":4,\"url\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234003333\",\"name\":\"Will my existing Safari subscribers need to resubscribe?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. Declarative messages go to the same push subscriptions you already have. Sending to an existing endpoint works exactly as before; only the payload format changes. Just keep your VAPID keys and service worker location the same, because changing those can break existing subscriptions.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234004444\",\"position\":5,\"url\":\"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234004444\",\"name\":\"Does Declarative Web Push allow silent notifications?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. Every declarative message must describe a visible notification with a title and navigate URL. That's why WebKit doesn't apply its silent push penalty to these messages: there's always something shown to the user. If you need background data updates, web push isn't the right tool.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is Declarative Web Push and Does It Replace Service Workers?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/larapush.com\/blog\/declarative-web-push\/","og_locale":"en_US","og_type":"article","og_title":"What Is Declarative Web Push and Does It Replace Service Workers?","og_description":"Declarative Web Push lets Safari show notifications without a service worker. The JSON format, browser support in 2026, and what to change.","og_url":"https:\/\/larapush.com\/blog\/declarative-web-push\/","og_site_name":"LaraPush Blog","article_published_time":"2026-11-27T04:38:01+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg","type":"image\/jpeg"}],"author":"Ritesh Das","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ritesh Das","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#article","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/"},"author":{"name":"Ritesh Das","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd"},"headline":"What Is Declarative Web Push and Does It Replace Service Workers?","datePublished":"2026-11-27T04:38:01+00:00","dateModified":"2026-11-27T04:38:01+00:00","mainEntityOfPage":{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/"},"wordCount":1320,"commentCount":0,"publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"image":{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg","articleSection":["Web Push Notifications"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/larapush.com\/blog\/declarative-web-push\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/","url":"https:\/\/larapush.com\/blog\/declarative-web-push\/","name":"What Is Declarative Web Push and Does It Replace Service Workers?","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage"},"image":{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg","datePublished":"2026-11-27T04:38:01+00:00","dateModified":"2026-11-27T04:38:01+00:00","breadcrumb":{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234000000"},{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234001111"},{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234002222"},{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234003333"},{"@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234004444"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/larapush.com\/blog\/declarative-web-push\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#primaryimage","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/declarative-web-push.jpg","width":1200,"height":675,"caption":"Illustration of declarative web push, a Home Screen web app receiving a notification straight from the cloud with a JSON card"},{"@type":"BreadcrumbList","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/larapush.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What Is Declarative Web Push and Does It Replace Service Workers?"}]},{"@type":"WebSite","@id":"https:\/\/larapush.com\/blog\/#website","url":"https:\/\/larapush.com\/blog\/","name":"LaraPush Blog","description":"Stay Ahead, Stay Notified with LaraPush!","publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/larapush.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/larapush.com\/blog\/#organization","name":"LaraPush","url":"https:\/\/larapush.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","width":280,"height":60,"caption":"LaraPush"},"image":{"@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd","name":"Ritesh Das","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","caption":"Ritesh Das"},"url":"https:\/\/larapush.com\/blog\/author\/riteshdas\/"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234000000","position":1,"url":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234000000","name":"Is Declarative Web Push a web standard?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"It's on the standards track. WebKit proposed changes to the W3C Push API and the WHATWG Notifications API, and Mozilla has implemented it for Firefox 162. Chrome hasn't shipped it as of November 2026. Treat it as an enhancement for supporting browsers, not a replacement for classic web push.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234001111","position":2,"url":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234001111","name":"Do I need an Apple Developer account for Declarative Web Push?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No. WebKit says web push on Apple platforms, including the declarative format, uses Apple Push Notification service without Apple Developer Program membership. You need HTTPS, VAPID keys and a subscription, just as with classic web push in other browsers.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234002222","position":3,"url":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234002222","name":"Can a service worker still change a declarative notification?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes. If a service worker is installed, Safari still fires a push event and passes the proposed notification. Your code can show a replacement notification. If it fails or runs too slowly, Safari shows the original declarative notification as a fallback, so the subscriber still sees something.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234003333","position":4,"url":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234003333","name":"Will my existing Safari subscribers need to resubscribe?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No. Declarative messages go to the same push subscriptions you already have. Sending to an existing endpoint works exactly as before; only the payload format changes. Just keep your VAPID keys and service worker location the same, because changing those can break existing subscriptions.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234004444","position":5,"url":"https:\/\/larapush.com\/blog\/declarative-web-push\/#faq-question-1764234004444","name":"Does Declarative Web Push allow silent notifications?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No. Every declarative message must describe a visible notification with a title and navigate URL. That's why WebKit doesn't apply its silent push penalty to these messages: there's always something shown to the user. If you need background data updates, web push isn't the right tool.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3587"}],"collection":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/comments?post=3587"}],"version-history":[{"count":1,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3587\/revisions"}],"predecessor-version":[{"id":3594,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3587\/revisions\/3594"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media\/3593"}],"wp:attachment":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media?parent=3587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/categories?post=3587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/tags?post=3587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}