Don`t put PWA and OneSignal service workers in the same "scope" (your site's root). Put OneSignal in a diferent "scope" (a subdir of your root) , and declare it in your OneSignal's account page, in the OneSignal's site. Init OneSignal inside "head" section of your pages. Works for me.