3 ms·
I've published an app to the Mozilla Marketplace and for the most part, it just work. As for the manifest file, you can get by with as little as: { "nam
by nickpresta 14y ago
I've published an app to the Mozilla Marketplace and for the most part, it just work.
As for the manifest file, you can get by with as little as:
{
"name":"Example",
"developer": {
"name":"Developer",
"url":"https://example.com"
},
"description":"My Description",
"icons":{
"128":"/img/icon.png"
},
"launch_path": "/",
"installs_allowed_from": ["*"]
}
With this, you can install your app from the Marketplace or from your own site (by serving it with the correct mime-type).
It is relatively easy to get the app installed from your own site, if you choose to ignore the Marketplace entirely (our code does it in ~80 lines of CoffeeScript) as seen here: http://www.youtube.com/watch?v=FMxeK1_xY98 http://www.youtube.com/watch?v=FMxeK1_xY98
One thing to keep in mind is that the window chrome which will house your application does not have back/forward buttons, does not have bookmarks, or an address bar. Remember this when designing your interface (you may been to provide in-app back/forward buttons, bookmarks, etc).
The only problems I ran into when developing this was that the API was unstable at the time (a few months ago) and that relative URLs for installation didn't work (https://bugzilla.mozilla.org/show_bug.cgi?id=745928 https://bugzilla.mozilla.org/show_bug.cgi?id=745928) but the devs in the mozilla #webapps IRC channel were helpful.
The nice thing about the Marketplace is that you can specify which form factor you want your app available to - Desktop/Laptop, Phone, Tablet.
On the phone side, things are easy:
https://lh3.googleusercontent.com/-7uT3PPCyPD8/UP9RTN-392I/AAAAAAAAC0A/mh8tfq9BpLY/s668/Screenshot_2013-01-22-21-55-19.png https://lh3.googleusercontent.com/-7uT3PPCyPD8/UP9RTN-392I/A...
https://lh3.googleusercontent.com/-GB4Vt6YVTKA/UP9RSDzDy8I/AAAAAAAACz4/_iURmFiVTLw/s668/Screenshot_2013-01-22-21-55-30.png https://lh3.googleusercontent.com/-GB4Vt6YVTKA/UP9RSDzDy8I/A...
https://lh5.googleusercontent.com/-dXnc0iuIBdM/UP9RRW_UILI/AAAAAAAACzw/EZcLT6_xR1Q/s668/Screenshot_2013-01-22-21-55-40.png https://lh5.googleusercontent.com/-dXnc0iuIBdM/UP9RRW_UILI/A...
https://lh6.googleusercontent.com/-NReWzbudobw/UP9RnJEiHpI/AAAAAAAAC0I/4iH_q98qOVk/s668/Screenshot_2013-01-22-21-57-16.png https://lh6.googleusercontent.com/-NReWzbudobw/UP9RnJEiHpI/A...
- ido 14y agoHow do you sell apps or IAPs?
- nickpresta 14y agoThe apps that I have experience with have all been no-cost. I don't know what an IAP is, so I can't comment. :-) edit: Thanks to Samuel for the explanation. No, I don't have experience with IAP.
- Samuel_Michon 14y agoIn the context of the Mozilla Marketplace, 'IAP' stands for 'In-App Payment'. https://wiki.mozilla.org/WebAPI/WebPayment#In-app_payment https://wiki.mozilla.org/WebAPI/WebPayment#In-app_payment
- kevin_p 14y agoYou can't yet. "The Firefox OS Marketplace does not currently support paid apps or in-app payments. We hope to enable this feature for testing late in the first quarter of 2013." (https://developer.mozilla.org/en-US/docs/Apps/Submitting_an_app https://developer.mozilla.org/en-US/docs/Apps/Submitting_an_...)