On Wednesday, May 15, 2013 at 1:01 AM, Travis Choma wrote:

> What about making at least one non-platform specific default icon required? 
> This way you don't run into the situation where one platform is 
> using/supporting icons from another and/or missing an icon all together.

One can try to impose draconian rules on the system, but if a competitor 
doesn't implement that, and content on the Web starts appearing that doesn't 
provide the default, then you just end up punishing users as they are the ones 
that don't get an icon. 

Imagine we get:

{icons: {"44-ffos:" "icon" }}

FxOS is perfectly capable of showing the icon. Should we punish the user for 
the developer's mistake? Will others do the same?

So, this is exactly the same issue browsers are now having with the 
proliferation of "-webkit-". Developers are not providing defaults, so other 
browsers like Opera were forced to support "-webkit-" (*prior to them switching 
to Chromium). It would be very unfortunate if we ended up in the same situation 
with hosted apps. 
> Providing optional platform specific icons provides some flexibility, 
> although there is less pressure these days to conform to a specific platform 
> style, i.e. iOS glossy icons are not at all popular anymore even though that 
> is the default recommended style. But this ability to target platforms is 
> worth considering, sometimes getting featured on a particular marketplace 
> depends on having assets that are appropriate for it.

To do that, a developer can provide different app manifests for different 
markets. The manifest can point to a unique set of icons without the need to 
target any particular platform:

Awesome Games Market place (myapp.example.com/awsomegames/manifest.json): 
{icons: {"awsomegames/hexaicons/..."}} 

Firefox OS marketplace (myapp.example.com/fxOS/manifest.json):
{icons: {"fxos/circle-icons/..."}} 


My personal site (myapp.example.com/manifest.json):
{icons: {"bevel-icons/..."}} 


This is effectively what developers are having to do today. The FireFox OS 
marketplace is a proprietary application market place - and will likely remain 
so for a while, so that's ok. 
> 
> Also let's say open web apps run on iOS down the road, iOS's icon sizes are 
> completely different: 57x57, 72x72, 114x114, and 144x144 so people might 
> start using size differences as a way of targeting specific platforms 
> anyways, without formal support for it.

Exactly. Though it's a bit unfortunate. Anyway, this discussion we should have 
in the other thread :) 


_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to