This repository has been archived by the owner. It is now read-only.

it's possible to delete/remove/uninstall core apps #276

Open
dr-impossible opened this Issue Jan 26, 2013 · 6 comments

Comments

Projects
None yet
5 participants

It's possible to delete/remove/uninstall core apps, and there doesn't seem to be any clear way to bring it back, other than reinstalling the Simulator.

Owner

mykmelez commented Jan 28, 2013

Hmm, that is indeed unfortunate. I'm not sure why it's happening, as the Settings app should be undeletable. Perhaps it isn't being marked as such in the Gaia profile that comes with the Simulator.

Member

rpl commented Jan 28, 2013

It could be related to the devmode settings enabled by default, and needed
to be able to do some operations (e.g. installing/updating certified apps)
not enabled on a user device.

I think a "restore corrupted firefoxos profile" can be a feature useful to
fix this and other similar issues
(e.g. currently if a user install a manifest with incorrect character
encoding or without enough disk space available, the b2g-instance will not
start correctly anymore because of a corrupted profile and needs a full
r2d2b2g reinstall to fix the problem)

Owner

mykmelez commented Jan 28, 2013

Hmm, I'd much rather fix bugs that cause profile corruption; so I would avoid adding a feature that recovers from such bugs unless it turns out to be absolutely necessary.

Also, at first glance I don't see any dev-mode settings that would affect this, as we don't build Gaia with DEBUG; nor is there anything in build/override-settings.js or prosthesis/defaults/preferences/prefs.js relating to dev-mode; and dev-mode itself was removed from Gaia in Gaia pull 7448.

Luckily I was able to restore the system app by reinstalling the Firefox
plugin.

On Monday, January 28, 2013, Myk Melez wrote:

Hmm, I'd much rather fix bugs that cause profile corruption; so I would
avoid adding a feature that recovers from such bugs unless it turns out to
be absolutely necessary.

Also, at first glance I don't see any dev-mode settings that would affect
this, as we don't build Gaia with DEBUG; nor is there anything in *
build/override-settings.js* or _prosthesis/defaults/preferences/prefs.js_relating to dev-mode; and dev-mode itself was removed from Gaia in this
pull mozilla-b2g/gaia#7448.


Reply to this email directly or view it on GitHubhttps://github.com/mozilla/r2d2b2g/issues/276#issuecomment-12804532.

Gioyik commented Apr 18, 2013

This is present in the version 2.0.1, i can unistall all webapps

Captura de pantalla de 2013-04-18 15:38:14

Member

ochameau commented Apr 24, 2013

Ideally we would use same codepath than the one being used on device, where system apps are being processed and made non-removable on first launch:
http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#430
So ideally, we would replace this ifdef with a preference in order to be able to run this code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.