Closed
Bug 1274928
Opened 8 years ago
Closed 8 years ago
Add a mechanism to preinstall external webapps
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: apastor, Assigned: apastor)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → apastor
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8756370 [details] [review] [gaia] albertopq:1274928-clock-external > mozilla-b2g:kanikani Ben, what do you think about this approach? There is a missing step for updating the pinned manifest if the url has a link rel="manifest", in order to always keep the last one. Note that the clock app is just an example. We should point to mozilla-b2g.github.io instead. * I used https://github.com/mozilla-b2g/preload-app-toolkit for generating the hosted_apps/clock folder
Attachment #8756370 -
Flags: feedback?(bfrancis)
Comment 3•8 years ago
|
||
I think this is basically the right approach and I realise you're trying to not to touch too much code, but I do think this can be simplified. How about a JSON file with an array of web app manifests (e.g. https://github.com/benfrancis/gecko-dev/blob/b2g-tablet/b2g/chrome/content/shared/defaults/sites.json) and we just populate the Places database from that on first run? (e.g. https://github.com/benfrancis/gecko-dev/blob/b2g-tablet/b2g/chrome/content/shared/js/Places.js#L77)
Updated•8 years ago
|
Attachment #8756370 -
Flags: feedback?(bfrancis) → feedback+
Assignee | ||
Updated•8 years ago
|
Summary: Load the clock webapp as an external app → Add a mechanism to preinstall external webapps
Assignee | ||
Updated•8 years ago
|
Attachment #8756370 -
Flags: review?(bfrancis)
Comment 4•8 years ago
|
||
Comment on attachment 8756370 [details] [review] [gaia] albertopq:1274928-clock-external > mozilla-b2g:kanikani So we're now using Facebook as an example web app? Fair enough. I think this can be improved but at least this gets a basic mechanism working to pre-install web apps.
Attachment #8756370 -
Flags: review?(bfrancis) → review+
Assignee | ||
Comment 5•8 years ago
|
||
kanikani: https://github.com/mozilla-b2g/gaia/commit/99978a001603702ff18d93ffdc0bb8202572f3b9
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•