Closed
Bug 813743
Opened 12 years ago
Closed 11 years ago
Set the correct URI for launching packaged webapps
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)
Tracking
(firefox23 verified, fennec+)
VERIFIED
FIXED
People
(Reporter: wesj, Assigned: jhugman)
References
Details
(Whiteboard: A4A)
Packaged webapps launch using a special app://<uri> uri that is basically converted to a jar: uri, and just opens the file inside its zip [1]. We need to use that when creating shortcuts for apps on Android. This is where things get a bit hairy. Right now, the first thing we do after the user approves installing an app is call into Java and ask it to create a profile for the new app: http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#6813 We send that profile back to the webapps implementation in order for it to download any app cache information that it needs for first run. In this case, we DON'T want to create the shortcut yet, because we don't know the app's GUID yet, and hence don't know what launch url to use. For webapps, I think we likely need to notify Gecko first, let it download the app into the webapps cache, and then try to get a GUID from that which we can pass to the shortcut. cc'ing fabrice so he can give any more information about whether we can ignore app cache in this case, and what callbacks we need to make instead to get the apps GUID.
Updated•12 years ago
|
Whiteboard: A4A
Updated•12 years ago
|
Whiteboard: A4A → A4A, blocking-webrtandroid1?
Updated•12 years ago
|
Whiteboard: A4A, blocking-webrtandroid1? → [blocking-webrtandroid1?]
Updated•12 years ago
|
tracking-fennec: --- → +
Priority: -- → P1
Updated•12 years ago
|
Whiteboard: [blocking-webrtandroid1?] → A4A
Updated•12 years ago
|
Assignee: nobody → jhugman
Assignee | ||
Comment 2•11 years ago
|
||
Jason - yes. The fix for bug 813736 involves fixing this.
Flags: needinfo?(jhugman)
Comment 3•11 years ago
|
||
Okay, closing then.
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
status-firefox23:
--- → verified
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•