PWA restrictions?

THE PROBLEM
Hello, thanks to this post (Your wix site as an installable APP) for a long time I managed to make PWAs for several websites that I have done and users have already downloaded, something a bit simple for a web developer such as making a manifest and configuring the service worker… to achieve that Using wix was a bit too complicated, I had to use custom codes and some other integrations but it worked. Today I realize that all the PWAs that I have developed and delivered no longer have a manifest and the manifest is not detected in the google console. Wix no longer allows this type of configuration in the custom code to make PWAs with the new changes so strange that they have made with the wix studio?

Product:
WIX EDITOR

1 Like

Are all of your sites no longer recognizing the manifest?

1 Like

Hello Chris, yes the manifest config. stopped working for all of my sites that were configured as pwa, and it’s very frustrating because one of them is a web app of a very busy restaurant that has its Qr codes on the tables to install the PWA and other one is a yelp like app for the local city

I don´t know if its a change on the wix platform like a restriction now or just a bug with the custom code feature because a made a simple test, add a console.log at the head section and nothing happens on the google console

<script>
console.log("test")
 </script>

Just that, and when I check on the google console I never see the word “test”

@noahlovell Do you now if there is a problem with the custom code functionality with all these updates and changes? because I can´t even console.log just a word.

If you have a link that you can share, I can take a look at it for you as well. If you’re not seeing your console logs, make sure that the code is active on the correct domain for the sites as well.

Your code can be enabled, but for another domain.

@chris-derrell sure! I don´t know if I can share the link of my dashboard of the site where I put the custom code but I share you some screen shots an the link of the site where the console log is not working



as you can see where it says “codigo personalizado” is where you put custom codes, on the other screenshot I put a console log just with my name to do the test, and in the website https://www.quecheverejuarez.com/ you can see that the console is not diplaying “david” so I guess custom codes stop working and that is why my dynamic manifest stop working as well.

Got it. What happens when you change the code to run at the beginning or end of the body instead of in the head? Changing the setting to Cuerpo - comienzo for example.

Another thing to note is that this will fall under Essential Code for the cookie banner, so if your live site has a cookie banner this may be the reason it’s no longer showing up. Brainstorming here with you.