Closed
Bug 964068
Opened 11 years ago
Closed 9 years ago
Allow Marketplace to prompt user to check for packaged-app updates
Categories
(Marketplace Graveyard :: Consumer Pages, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dev, Unassigned)
References
Details
(Whiteboard: [apps-must-haves] [dependency: marketplace-partners] [repoman?][marketplace-transition])
Attachments
(1 file)
180.01 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140126030203
Steps to reproduce:
You publish a new version of your App.
You go to the marketplace in your device and go to this App details.
You cannot see the 'update' action button.
Actual results:
The 'launch' button doesn't change to the 'update' action.
You can see the attached screenshots:
Img1...: current version 9 App, about us screen.
Img2...: marketplace App details. Button shows 'launch' instead of 'update'.
Img3...: marketplace App details shows version 11.
Expected results:
The 'launch' button should change to 'update'.
Comment 1•11 years ago
|
||
Would like to know if there's an API the Marketplace can invoke to force an update (or check for an update) for an installed app (à la Firefox OS's manual "check now" feature for updates).
CC'ing Fabrice and Jason for info.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(fabrice)
Comment 2•11 years ago
|
||
Yes, the marketplace can call app.checkForUpdate() (see https://mxr.mozilla.org/mozilla-central/source/dom/interfaces/apps/nsIDOMApplicationRegistry.idl#55) and then app.download(). However only the system will be able to apply the update by calling mozApps.mgmt.applyDownload(app) (https://mxr.mozilla.org/mozilla-central/source/dom/interfaces/apps/nsIDOMApplicationRegistry.idl#144)
Flags: needinfo?(fabrice)
Updated•11 years ago
|
Severity: normal → enhancement
Priority: -- → P3
Updated•11 years ago
|
Summary: update new App version → Allow Marketplace to prompt user to check for packaged-app updates
Comment 3•11 years ago
|
||
This is a good idea. Another alternative would be to use push notification to notify when an update is available for an app.
Keywords: uiwanted
Comment 4•11 years ago
|
||
Wanted to see if we can get the UI for this and get it done via repoman. Bug 885636 has been open for a long time and partners depend on it.
Suggestion:
Since the system needs to apply the download, we should have the user request the update so that they can download it, and then have the system install it.
the suggestion is to have an "Update" button for each app that needs an update.
Each app is checked for updates when the user launches (or possibly opens My Apps Tab?). If an update is found, we should have an update button. Possibly have an "Update All" button. So that button could now be "Launch, Install, or Update"
Assignee: nobody → mhanratty
Blocks: 885636
Whiteboard: [apps-must-haves] [dependency: marketplace-partners] [repoman]
Updated•11 years ago
|
Assignee: mhanratty → nobody
Keywords: uiwanted
Whiteboard: [apps-must-haves] [dependency: marketplace-partners] [repoman] → [apps-must-haves] [dependency: marketplace-partners] [repoman?]
Comment 5•10 years ago
|
||
Mat -- this would be similar to what was explored for notifications. Do you know if we could check for updates for other apps via the same methodology?
Flags: needinfo?(mpillard)
Comment 6•10 years ago
|
||
We can, and I wrote the marketplace update notification code in a generic way to be able to implement this easily if we wanted to. It should enable us to check for updates *and* download updates for any app.
The methods are checkForUpdate(manifestURL) and applyUpdate(manifestULR). If we start using them for apps other than our own, then we might need some fancy progress bar + listening on progress events on the download part, though.
Flags: needinfo?(mpillard)
Comment 7•10 years ago
|
||
Forgot to mention: the methods are implemented here: https://github.com/mozilla/fireplace/blob/master/src/media/js/installer_direct.js
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Whiteboard: [apps-must-haves] [dependency: marketplace-partners] [repoman?] → [apps-must-haves] [dependency: marketplace-partners] [repoman?][marketplace-transition]
You need to log in
before you can comment on or make changes to this bug.
Description
•