DOMApplicationsRegistry.installPackage

Marketplace feature removal
The functionality described on this page no longer works — Firefox Marketplace has discontinued support for Android, Desktop, Tablets, and payments (and other related functionality). For more information, read the Future of Marketplace FAQ.

Summary

Installs a packaged app.

Syntax

JavaScript
installPackage: function(aURL[, aParams])

Parameters

 
aURL
The URL of the mini-manifest associated with the app package you are trying to install. This must be a full, absolute URL.
aParams
Optionally, an object with optional information:
  • receipts: Will be used to specify the payment receipts for this installation.
  • categories: Will be used to specify the categories of the webapp.

Returns

DOMRequest

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/domapplicationsregistry/installpackage

API Apps DOMApplicationsRegistry Firefox OS Method NeedsContent