{"id":282,"date":"2019-08-30T12:14:07","date_gmt":"2019-08-30T12:14:07","guid":{"rendered":"http:\/\/pwa-for-wp.com\/docs\/?post_type=ht_kb&#038;p=282"},"modified":"2020-02-15T07:51:05","modified_gmt":"2020-02-15T07:51:05","slug":"what-is-it-onesignal-compatibility-in-pwa","status":"publish","type":"ht_kb","link":"https:\/\/pwa-for-wp.com\/docs\/article\/what-is-it-onesignal-compatibility-in-pwa\/","title":{"rendered":"What is it &#8220;OneSignal Compatibility&#8221; in PWA"},"content":{"rendered":"\n<p>One Signal service workers,  OneSignalSDKWorker.js and OneSignalSDKUpdaterWorker.js overwrite other service workers that are registered with the topmost (site root) service worker scope. The solution is to merge all other service worker scripts into one.<\/p>\n\n\n\n<p><strong>We are providing OneSignal Compatibility with PWA for this you need to follow the below steps.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You will find this option in the <strong>WordPress Dashboard <\/strong>-&gt; <strong>PWA <\/strong>-&gt;  <strong>Tools<\/strong> -&gt;<strong>Compatibility<\/strong> -&gt; Check this &#8220;<strong>OneSignal Compatibility<\/strong> &#8221; option and then click on the &#8220;<strong>Save Setting<\/strong>&#8221; button.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1060\" height=\"493\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-1024x476.png\" alt=\"\" class=\"wp-image-511\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-1024x476.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-300x140.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-768x357.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-50x23.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-60x28.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6-100x47.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/6.png 1060w\" sizes=\"auto, (max-width: 1060px) 100vw, 1060px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>OneSignal Compatibility:<\/strong> Once you check this option PWA and OneSignal will work properly.<\/li><\/ul>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope we\u2019ve clear your doubts in case If you have any feedback or questions, Just contact us&nbsp;<strong>here and<\/strong>&nbsp;we are always available for you.<\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>One Signal service workers, OneSignalSDKWorker.js and OneSignalSDKUpdaterWorker.js overwrite other service workers that are registered with the topmost (site root) service worker scope. The solution is to merge all other service worker scripts into one. We are providing OneSignal Compatibility with PWA for this you need to follow the below steps&#8230;.<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[7],"ht-kb-tag":[],"class_list":["post-282","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=282"}],"version-history":[{"count":15,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/282\/revisions"}],"predecessor-version":[{"id":987,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/282\/revisions\/987"}],"wp:attachment":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=282"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=282"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}