Home › Forums › Legacy Support › 4.0 Bugs & Issues › PWA is not working, Service worker is working but no manifest file was generated
- This topic has 13 replies, 3 voices, and was last updated 3 years, 6 months ago by Anshuman Sahu.
Viewing 13 posts - 1 through 13 (of 13 total)
-
AuthorPosts
-
October 23, 2020 at 7:52 am #320288AdamSpectatorPWA is not working, Service worker is working/generated but no manifest file was generated. We don't see (+) sign in browser address bar. We don't see add to home screen in mobile phone. We followed the youtube video: https://www.youtube.com/watch?v=LSHRqf-gm14 We added app icon with correct size and then click regenerate service worker. No issue while generating service worker. But still no + sign in browser console. We cleared varnish cache from server but still no luck. Could you please check our site: hublearn.com and click the about link on menu. I will share login details in next message as private. https://prnt.sc/v53yry https://prnt.sc/v53yzg Also in the Service worker tab, background sync and push notifications links are not working. It redirects to General settings VibeBP page. Though In front-end I can see a popup for push notification.October 23, 2020 at 7:53 am #320289AdamSpectatorThis reply has been marked as private.October 27, 2020 at 1:02 pm #321089MrVibeKeymasterchecking site.October 27, 2020 at 1:05 pm #321090MrVibeKeymasterconflicting settings. fixing. There is no point of adding a login redirect if you are using buddypress single page.October 27, 2020 at 1:16 pm #321095MrVibeKeymasterUnfortunately, your analysis is just the opposite. The manifest is perfect : https://prnt.sc/v7wu55 The service worker shows error : https://prnt.sc/v7wt3p because : https://prnt.sc/v7wsd8 So change site url and home url in wordpress settings https://prnt.sc/v7wukx , it is also a not a good practice to add www to url's for SEO perspective. I tried to change but the site became unresponsive. Change the DNS settings and remove the www optionally login via cpanel to add www and manage the service worker manually. Either way this is a configuration issue in your wordpress setup.October 27, 2020 at 1:19 pm #321097MrVibeKeymasterso clearing cached data the site is working again but the url's is again showing the issue.October 27, 2020 at 1:23 pm #321099MrVibeKeymasterturns out my analysis is wrong. the WWW is perfectly fine to keep. There is 1 image in your service worker without https which is causing this issue. https://prnt.sc/v7x520 re-upload the image and re-generate service worker. Then everything should work fine.October 27, 2020 at 4:48 pm #321159AdamSpectatorYour last screenshot does not say exactly which image is http. I dont see full url in the screenshot. Could you please mention which image is non https. Default image is what we used is SVG format. I think we need PNG format. Correct ? We were having problem (Site was not loading suddenly and we didnt know what causing this issue, Now we understand) when you changed the www from domain url. Please don't do that. We were panicked. Finally our server people fixed it. All non-www redirects to www.hublearn.com.October 27, 2020 at 5:03 pm #321166AdamSpectatorhttps://prnt.sc/v82mdi All our images is PNG format. All are https.October 30, 2020 at 11:38 am #321921AdamSpectatoryour PWA app is not asking to add to home screen popup in mobile.November 2, 2020 at 2:40 pm #322480Anshuman SahuKeymasterHi we added this FAq today itself to check all the points for PWA " https://docs.wplms.io/admin-guide-faqs#pwa-plus-icon-does-not-appearNovember 2, 2020 at 3:58 pm #322511AdamSpectatorhttps://www.hublearn.com/welcome-hublearn service worker is running but there is an error in manifest. it says lang: en_US is invalid language code. i can see this error in application tab in firefox. our manifest code look like this:
{"lang":"en_US","name":"HubLearn","short_name":"HubLearn","theme_color":"#598dee","background_color":"#fafafa","display":"fullscreen","scope":"\/","start_url":"https:\/\/www.hublearn.com\/welcome-hublearn\/","gcm_sender_id":"103953800507","icons":[{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-72x72.png","sizes":"72x72","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-96x96.png","sizes":"96x96","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-128x128.png","sizes":"128x128","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-144x144.png","sizes":"144x144","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-152x152.png","sizes":"152x152","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-192x192.png","sizes":"192x192","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-384x384.png","sizes":"384x384","type":"image\/png"},{"src":"https:\/\/www.hublearn.com\/wp-content\/uploads\/icon-512x512.png","sizes":"512x512","type":"image\/png"}]}
November 5, 2020 at 3:48 pm #323187Anshuman SahuKeymasterHi we noticed you are using push notifications and it also uses manifest.json . Please disable it and again try to enable service worker and generate the app. -
AuthorPosts
Viewing 13 posts - 1 through 13 (of 13 total)
- The topic ‘PWA is not working, Service worker is working but no manifest file was generated’ is closed to new replies.