reinstalling packaged app causes it to get uninstalled

RESOLVED FIXED in Firefox 30

Status

()

Firefox for Android
Web Apps
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: myk, Assigned: myk)

Tracking

unspecified
Firefox 30
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

4 years ago
When I reinstall the packaged app Cut The Rope, it disappears from about:apps.  Logs show an error:

> …
> GeckoConsole  E  [JavaScript Error: "Error installing packaged app from: http://dl.dropboxusercontent.com: REINSTALL_FORBIDDEN" {file: "resource://gre/modules/Webapps.jsm" line: 1966}]
> GeckoConsole  E  * * WebappManager.jsm: attempting to uninstall CutTheRope
> Gecko  I  -*- Webapps.jsm : uninstall https://marketplace.firefox.com/app/a22e0277-35bc-434d-9371-1568c75fc726/manifest.webapp
> Gecko  I  -*- Webapps.jsm : cancelDownload https://marketplace.firefox.com/app/a22e0277-35bc-434d-9371-1568c75fc726/manifest.webapp
> Gecko  I  -*- Webapps.jsm : Could not find a download for https://marketplace.firefox.com/app/a22e0277-35bc-434d-9371-1568c75fc726/manifest.webapp
> …
> Gecko  I  -*- Webapps.jsm : Saving /data/data/org.mozilla.fennec_myk/files/mozilla/webapps/webapps.json
> GeckoConsole  E  * * WebappManager.jsm: success uninstalling CutTheRope

So it looks like AutoInstall tries to reinstall the app, which fails because the app is already installed, and somehow that triggers an uninstall.

It's possible this will be fixed by bug 934760, which implements an update flow when an APK is updated, as in this case.
(Assignee)

Comment 1

4 years ago
Bug 934760 did indeed fix this problem!
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Assignee: nobody → myk
Target Milestone: --- → Firefox 30
You need to log in before you can comment on or make changes to this bug.