Closed Bug 1052334 Opened 10 years ago Closed 7 years ago

create a function to retrieve preview image of widget

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: johnhu, Unassigned)

References

Details

After homescreen-webapps-manage finished, the homescreen can be privileged app and it uses "getAppIcon" to retrieve the icon. In Widget API, we also need a similar API to retrieve the screenshot image. We should create getWidgetScreenshot in mozApps.mgmt:

Apps.mgmt.getWidgetScreenshot() - new API which provides the screenshot for a given widget
We had renamed the "screenshot" field to "preview_image" field. The screenshot may be confused with getScreenshot() API.
Summary: create a function to retrieve screenshot image which is defined in screenshot fields of widget definition in manifest.webapp → create a function to retrieve preview image of widget
Blocks: 1062062
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.