> From: "Marcos Caceres" <[email protected]>
> 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.
This is interesting to know. If developers are already doing this with multiple
manifest files, this provides
a clean way to submit the app with custom assets for a given marketplace
without a matrix of icon tags. It also goes beyond icons, developers may easily
want a custom description on a per marketplace basis that calls out their
accolades on a given marketplace.
Also in terms of the manifest on your own site, I suppose as mentioned earlier
UA detection would allow you to serve up a different manifest to meet the needs
of a given platform. From my experience the need is generally for different
icons per platform, less so per version of the platform, although there will
probably be some edge cases.
One thing to consider regarding your earlier point and the possibility of
multiple manifest files:
> 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
This raises the possibility of the reverse, where a competitor starts
implementing it's own non-standard fields to the manifest. I suppose there is
no avoiding that and something to keep an eye on.
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps