On 02/02/2016 08:47 AM, leandro wrote:
> for my homescreen i get the apps with mgmt.getAll()
> but besides i force a redraw of the entire homescreen,
> when a new app is installed mgmt.getAll() doesn't give me the new item
> 
> is happening somehow caching or something like that?
> 
> if i reinstall my homescreen, the news apps are detected ....

Looks like a bug, but in any case you should attach event listeners for
the install and uninstall events (see
http://mxr.mozilla.org/mozilla-central/source/dom/webidl/Apps.webidl#139) after
the first getAll() call.

-- 
Fabrice Desré
Connected Devices
Mozilla Corporation
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to