etcaterva / echaloasuerte

https://echaloasuerte.com
6 stars 7 forks source link

Don't force manifest.json orientation #730

Open palvarez89 opened 4 years ago

palvarez89 commented 4 years ago

In https://github.com/etcaterva/echaloasuerte/blame/586c30907bc83e653c4a7b8de775faae9ee761ce/web/templates/manifest.json#L14 we set it to landscape. This seems odd to me.

palvarez89 commented 4 years ago

An example of manifest that integrates nicely on android

{ 
   "background_color":"#FFFFFF",
   "description":"Home automation platform that puts local control and privacy first.",
   "dir":"ltr",
   "display":"standalone",
   "icons":[ 
      { 
         "sizes":"192x192",
         "src":"/static/icons/favicon-192x192.png",
         "type":"image/png"
      },
      { 
         "sizes":"384x384",
         "src":"/static/icons/favicon-384x384.png",
         "type":"image/png"
      },
      { 
         "sizes":"512x512",
         "src":"/static/icons/favicon-512x512.png",
         "type":"image/png"
      },
      { 
         "sizes":"1024x1024",
         "src":"/static/icons/favicon-1024x1024.png",
         "type":"image/png"
      }
   ],
   "lang":"en-US",
   "name":"Home Assistant",
   "short_name":"Assistant",
   "start_url":"/?homescreen=1",
   "theme_color":"#03A9F4"
}