How to modify a web app manifest

0
Hi all, I’m trying to publish a Mendix PWA in the Google Play Store, following the steps mentioned in this link: Publishing a Mendix PWA in the Google Play Store | by Vandarkuzhali Suppiah | Mendix Community | Medium   But I’m having trouble with my web manifest, I have an issue with the icons. So, I need to update the manifest, but I don’t know how.   I’ve found the following info in Mendix Docs, about customizing the manifest. But my app doesn’t have the file “manifest-overrides.webmanifest.json”. I’ve tried creating a JSON with this name but it didn’t work.   Don’t really now if I’m doing something wrong but I would really appreciate some help.   Thanks!
asked
1 answers
0

Hi, 

 

You can change the manifest-overrides.webmanifest (it is a JSON file) inside app\theme\web and provide extra settings to overpass the icon=maskable any error. I have been using this one as a example and it does not raises any error according to pwabuilder.com. When you deploys it goes to app\deployment\web

{
  "name": "TravelRequest",
  "background_color": "#aaa",
  
  "icons": [
    {
      "purpose": "any",
      "sizes": "192x192",
      "src": "/icon-192.png?638309727850015776",
      "type": "image/png"
    },
    {
      "purpose": "any",
      "sizes": "512x512",
      "src": "/icon-512.png?638309727850015776",
      "type": "image/png"
    }
  ],
  "dir": "ltr",
  "start_url": "/",
  "short_name": "TravelRequest",
  "lang": "en-US",
  "display": "standalone",
  "theme_color": "#000000",
  "description": "Travel Request App"
}

 

Hope this helps!

answered