Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Duken Posted June 25, 2021 Posted June 25, 2021 Dear, On Duken.nl i can't see a setting to enable PWA. I upgraded to 4.6 but i can't install the PWA app on my phone or desktop. I can do this with the IPB.com website. Is there a hidden setting? How can i enable this for users.
ABGenc Posted June 25, 2021 Posted June 25, 2021 (edited) That was the same thing I have experienced. The application was installable after I have uploaded the icons and completed other details on the same tab. ( ACP -> Customization -> Icons & Logos ) Edited June 25, 2021 by ABGenc Duken 1
Duken Posted June 25, 2021 Author Posted June 25, 2021 Thank you. I added al the images as seen on the specs on: https://www.duken.nl/forums/admin/?app=core&module=customization&controller=icons But no luck yet. Also cleared the cache... What to do what to do.
ABGenc Posted June 25, 2021 Posted June 25, 2021 When you inspect the page there seems to be 2 warnings for Installability. For the second warning, there should be a response to following link but it is directed to homepage. But dont know how it is activated though. My site had the application installable a few hours after uploading the images without doing anything additional. https://duken.nl/index.php?app=core&module=system&controller=serviceworker For Installability to be active there are requirements. You can check the following link ; https://web.dev/install-criteria/
Nathan Explosion Posted June 25, 2021 Posted June 25, 2021 (edited) 3 hours ago, Duken said: i can't see a setting to enable PWA In the section for icons/logos, ensure that this is toggled on, and the fields exposed are completed: Edited June 25, 2021 by Nathan Explosion ABGenc 1
Duken Posted June 25, 2021 Author Posted June 25, 2021 Well everything is set ok? What am i doing wrong?
Umaar Posted June 25, 2021 Posted June 25, 2021 (edited) I'm using Cloud Plan. It's not working. ========================================================================================== ========================================================================================== ========================================================================================== We don't have a correct image size in the descriptions. Please provide an ideal image size. 🤓 Edited June 25, 2021 by Umaar
Stuart Silvester Posted June 25, 2021 Posted June 25, 2021 1 hour ago, ABGenc said: For the second warning, there should be a response to following link but it is directed to homepage. But dont know how it is activated though. My site had the application installable a few hours after uploading the images without doing anything additional. https://duken.nl/index.php?app=core&module=system&controller=serviceworker This is your remaining problem, something is redirecting that request to the homepage instead of showing the Service Worker JS. We don't have any redirects in this controller so I suspect it may be something third party or server related.
Stuart Silvester Posted June 25, 2021 Posted June 25, 2021 21 minutes ago, Umaar said: I'm using Cloud Plan. It's not working. ========================================================================================== ========================================================================================== ========================================================================================== We don't have a correct image size in the descriptions. Please provide an ideal image size. 🤓 The images with size requirements have them listed (there's only one). The other images can be whatever size you wish. Your community is showing the PWA is installable now (don't forget the manifest file may be cached, so it may take some time for the testing service/browser to see any updates you make)
ABGenc Posted June 25, 2021 Posted June 25, 2021 Just now, Stuart Silvester said: This is your remaining problem, something is redirecting that request to the homepage instead of showing the Service Worker JS. We don't have any redirects in this controller so I suspect it may be something third party or server related. Yes Stuart, @Duken has chosen the landing page as start_url: "/forums/discover/" but service worker has const BASE_URL = "https://www.duken.nl/forums/"; I think if @Dukendisables the custom URL setting it will work Duken 1
Stuart Silvester Posted June 25, 2021 Posted June 25, 2021 Just now, ABGenc said: Yes Stuart, @Duken has chosen the landing page as start_url: "/forums/discover/" but service worker has const BASE_URL = "https://www.duken.nl/forums/"; I think if @Dukendisables the custom URL setting it will work I don't even see the service worker, I'm getting immediately redirected to the /forums/home/ page. Duken 1
Duken Posted June 25, 2021 Author Posted June 25, 2021 Is it because i have IPB in the /forums/ folder? in the root there is a index.php with a redirect to duken.nl/forums/home/ <?php echo "<script> location.href='https://www.duken.nl/forums/home/'; </script>"; exit; ?> is this the problem? 6 minutes ago, ABGenc said: I think if @Dukendisables the custom URL setting it will work you mean not to go to /discover?
ABGenc Posted June 25, 2021 Posted June 25, 2021 4 minutes ago, Stuart Silvester said: I don't even see the service worker, I'm getting immediately redirected to the /forums/home/ page. I get it through Chrome - Inspect ; https://www.duken.nl/forums/index.php?app=core&module=system&controller=serviceworker&v=b43c8ed7fd1624625712 2 minutes ago, Duken said: you mean not to go to /discover? Yes, just to test disable the following setting Duken 1
Duken Posted June 25, 2021 Author Posted June 25, 2021 3 minutes ago, Duken said: I think if @Dukendisables the custom URL setting it will work Done: but nu luck yet.
ABGenc Posted June 25, 2021 Posted June 25, 2021 14 minutes ago, Stuart Silvester said: Your community is showing the PWA is installable now (don't forget the manifest file may be cached, so it may take some time for the testing service/browser to see any updates you make) @Duken Stuart had the comment above. May be we need some time. Duken 1
Duken Posted June 25, 2021 Author Posted June 25, 2021 Ok, the start URL is changed to /forums/ now but still no install option. 27 minutes ago, Stuart Silvester said: This is your remaining problem, something is redirecting that request to the homepage instead of showing the Service Worker JS. We don't have any redirects in this controller so I suspect it may be something third party or server related. it was the wrong link, this is the correct one: https://www.duken.nl/forums/index.php?app=core&module=system&controller=serviceworker
Recommended Posts