Site.webmanifest dawn theme erasing content

Please:

We want to adapt pwa for

www.cocoparfemi.com

Firstly we need black bottom bar with “add to home screen” button on load index

We added metatags in head section

And it is ok now it opens fullscreen for users who added site to home screen of their mobiles

Firstly we need black bottom bar with “add to home screen” button on site load.

Please do you experts can tell us how?

We want to change splash screen color when visitors click on icon.

But in assets site.webmanifest always erase all of it content ??

And we do not know how to create manifest.json section in dawn theme

(Only json templates are available)…

Please, we want to make progressive web app but there is a bug in probabbly in dawn theme… With intention or not…

I assests there is site.webmanifest but when you edit it and save (there ia even notification assests saved) on reload it ia blanc again… No matter what you input there?

Also can someone of experts please help us to sa achive bottom “add to home screen” bar?

Some simple things are locked in shopify (like cpanel or checkout) and for now it is not so much user friendly like WYSIWYG … It has fast cool things like cdn but we thinking about to leave it…

Sorry for terrible english.

Hi @Revlon ,

It’s really confusing, can you send me a screenshot with description on it, what do you want to change?

I will check it.

1 Like

Hi @LitCommerce thanks for reply.

We want to make PWA but without shopify apps for that which are not very great…

we want to make manifest.json or .webmanifest

but when you edit site.webmanifest im Dawn them it is not saved, always blanco on refresh

:confused:

Did anyone ever figure out how to do this?

I have the same problem, and I also can’t get the .ico file in the assets folder to be regained.

Looking forward to a solution.

In the mean time I found this blog entry that shows how to deal with .webmanifest hope this helps others.

https://www.suture.net/add-favicons-shopify/

An update

I got the site.wewbmanifest to work by pasting the code the “site.wewbmanifest” of the theme. After you press save the data gets pushed out and it updates the file. the bad thing is that if the page refreshes you will not be able to see what code is there. All you’ll see is an empty page. By writing new code in the page you override the existing code.

I declared my favicons and check for the implementation on this site: https://realfavicongenerator.net/

I had to use a hard coded link to the icons the liquid sintax was not accepted. Don’t use: “{{ ‘myicon.png’ | asset_url }}” it will not work.

I also tried creating a site.webmanifest.json and uploading it to the assets folder that also did not work.

Hope this helps someone else and save them the frustration I experienced.