Hi Again,

the culprit seems to be the access to platformVersion field of the device
capabilities structure
(SystemInfoDeviceCapability as returned by getCapabilities())

deviceCapabilities.platformVersion;

Regards,
Paul

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Paul Plaquette,
Senior Software Engineer
Intel Corporation SAS *
*
*SSG/SSD/Open Source Technology Center*
France, Montpellier



On Wed, Jun 5, 2013 at 2:19 PM, Plaquette, Paul <[email protected]>wrote:

> in a Web App , a Javascript, in SDK 2.1 final:
>
> i am having a security error when executing the following code (see below)
> on : this.version = deviceCapabilities.platformVersion;
>
>
> in this JavaScript code:
>
>     var deviceCapabilities =  tizen.systeminfo.getCapabilities();
>
>     if (deviceCapabilities) {
>
>         this.version = deviceCapabilities.platformVersion;
>         this.uuid = deviceCapabilities.duid;
>         this.model = deviceCapabilities.platformName;
>         this.name = this.model;
>
>         channel.onCordovaInfoReady.fire();
>      }
>      else {
>          console.log("error initializing cordova: ");
>      }
>
> Do you think I may have a Config.xml api privilege access ?
>
> thanks in advance for your help !
>
> Regards,
> Paul
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Paul Plaquette,
> Senior Software Engineer
> Intel Corporation SAS *
> *
> *SSG/SSD/Open Source Technology Center*
> France, Montpellier
>
>
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to