yes, sir. the app lives in https://github.com/novia713/tilescreen/tree/v.1.6
(current development branch is v.1.6)

so, i find a bit confusing the documentation because we can find:

(
https://developer.mozilla.org/en-US/Apps/Build/JavaScript_API/navigator.mozApps.mgmt.uninstall
)




*Parametersorigin    The origin of the app to be removed.*

when the value passed as argument to uninstall() should be the whole app

:/

-Leandro




IMPORT MY GPG KEY:
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys BA863309



2016-02-06 8:42 GMT+01:00 Kevin Grandon <[email protected]>:

> Do you have the app code anywhere on github?
>
> It should work assuming that the app is installed and is set to the
> current home screen. The default home screen is privileged, and calls
> uninstall here:
> https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/js/apps.js#L743
>
> Best,
> Kevin
>
> On Fri, Feb 5, 2016 at 3:50 AM, leandro <[email protected]> wrote:
>
>> hi,
>> i continue developing my homescreen and other weapps blindly ahead
>> trusting the community will give continuity to the project ....
>>
>> so, in my homescreen i have the «homescreen-webapps-manage» permission,
>> but when i try to uninstall an app with
>> navigator.mozApps.mgmt.uninstall();
>>
>> i get always an error
>>
>> does this permission allow me to uninstall apps?
>> if not, is there any solution?
>> -Leandro
>>
>>
>>
>>
>> IMPORT MY GPG KEY:
>> gpg --keyserver x-hkp://pgp.mit.edu --recv-keys BA863309
>>
>>
>>
>> _______________________________________________
>> dev-fxos mailing list
>> [email protected]
>> https://lists.mozilla.org/listinfo/dev-fxos
>>
>>
>
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to