Software Archive
Read-only legacy content
17061 Discussions

intel.xdk.device.addRemoteScript error

Brett_L_
Beginner
391 Views

Hello,

I'm trying to use the intel.xdk.device.addRemoteScript to include a script from our site into our Windows 8 app.

I'm getting the following javascript error when the method tries to excute:

The details of the JavaScript exception are as follows Exception Name:<Type error>,

Description:<Object doesn't support property or method 'addRemoteScript'>

Are there are suggestions for what the problem may be? Has this method been depreciated?

Thanks for any advice,

Brett.

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
391 Views

The function is available, you probably need to include the intel.xdk.device Cordova plugin (see docs here: https://github.com/01org/cordova-plugin-intel-xdk-device#methods). Use the plugin manager to add this plugin as a third-party plugin via the github repo (since it has been deprecated).

0 Kudos
Reply