Closed Bug 927959 Opened 11 years ago Closed 11 years ago

Cannot preinstall a hosted app with appcache in a SIM customization variant

Categories

(Core Graveyard :: DOM: Apps, defect)

26 Branch
ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+, firefox26 fixed, firefox27 fixed, b2g-v1.2 verified)

RESOLVED FIXED
mozilla27
blocking-b2g koi+
Tracking Status
firefox26 --- fixed
firefox27 --- fixed
b2g-v1.2 --- verified

People

(Reporter: jsmith, Assigned: fabrice)

References

Details

(Whiteboard: [systemsfe])

Attachments

(2 files)

Attached file webapps.json
Build: 10/17/2013 Master Leo STR 1. Follow https://wiki.mozilla.org/B2G/QA/Customizations#Build_Setup to setup your build with a AT&T Mobile US SIM included 2. Complete the FTE 3. Analyze & launch the Accuweather app Expected Accuweather should be preinstalled with the correct icon & launch to m.accuweather.com. Actual Accuweather has a downloading icon spinning infinitely & fails to launch upon clicking the icon.
blocking-b2g: --- → koi?
Whiteboard: [systemsfe]
blocking-b2g: koi? → koi+
Flags: needinfo?(marce)
We had 2 issues: not trying to trigger queued downloads for non-packaged apps, and after that since these install happen so soon the network is usually down which means that we didn't install properly either.
Assignee: nobody → fabrice
Attachment #818759 - Flags: review?(ferjmoreno)
Component: Gaia::System → DOM: Apps
Product: Boot2Gecko → Core
Version: unspecified → 26 Branch
Blocks: 893800
Thanks Fabrice!
Flags: needinfo?(marce)
Attachment #818759 - Flags: review?(ferjmoreno) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Keywords: verifyme
QA Contact: jsmith
Depends on: 934017
No longer blocks: 932843
Depends on: 932843
Tried multiple attempts, but wikipedia & accuweather still fail to preinstall for me. Filed bug 934017 as a followup.
Keywords: verifyme
I have done several tests and I have a question. If we complete the FTE without internet connection, hosted apps are installed with the default icon. Is this correctly or should be installed with the specific app icon?
(In reply to rafael.marquez from comment #7) > I have done several tests and I have a question. > If we complete the FTE without internet connection, hosted apps are > installed with the default icon. Is this correctly or should be installed > with the specific app icon? It should be the specific app icon - the internet connection shouldn't have an effect during the preinstalling process. If it does, it's a bug & it's a blocker - our content requirements require that apps must be preinstalled with the right grid of icons when the user first sees the phone.
Now, If you complete the FTE without internet connection hosted apps are installed with the default icon. do you have a bug opened for this feature? (In reply to Jason Smith [:jsmith] from comment #8) > (In reply to rafael.marquez from comment #7) > > I have done several tests and I have a question. > > If we complete the FTE without internet connection, hosted apps are > > installed with the default icon. Is this correctly or should be installed > > with the specific app icon? > > It should be the specific app icon - the internet connection shouldn't have > an effect during the preinstalling process. If it does, it's a bug & it's a > blocker - our content requirements require that apps must be preinstalled > with the right grid of icons when the user first sees the phone.
It seems it depends on the kind of hosted app, we will add the details to clarify what is the expected result each case
no network = no way to get the icon... Does it appear when the device goes online? The other (bad) option is to use a data: uri for the icon url.
(In reply to Fabrice Desré [:fabrice] from comment #11) > no network = no way to get the icon... Does it appear when the device goes > online? The other (bad) option is to use a data: uri for the icon url. Actually, I think the old 1.01 & 1.1 customizations were using data URIs actually to ensure that you had an icon when you first launch the homescreen, even if no network was present. Example - https://github.com/telefonicaid/firefoxos-gaia-spain/blob/master/external-apps/facebook/manifest.webapp
(In reply to rafael.marquez from comment #9) > Now, If you complete the FTE without internet connection hosted apps are > installed with the default icon. do you have a bug opened for this feature? Nope, I haven't filed a bug about this yet.
No longer depends on: 934017
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: