Software Archive
Read-only legacy content
17060 Discussions

Notification alert

zipsoft_z_
Beginner
1,096 Views

Hi,

I am trying to do this:

intel.xdk.notification.alert("Hammertime!","STOP","Touch This");

but get 'intel' is not defind (W117) ...

Where am I wrong?

 

0 Kudos
3 Replies
Ad
New Contributor III
1,096 Views

You can configure the jshint errors you get by putting the jshint directives directly in your code (at the top of the page). See this thread: https://software.intel.com/en-us/forums/intel-xdk/topic/560196

I'm not sure, but I think the Intel notification plugin is deprecated, at least not listed in the plugin Manager anymore, it's better to use the Core Cordova Notification Plugin. And remember: this will not work in the emulator! (neither the intel notification plugin)

 

0 Kudos
John_H_Intel2
Employee
1,096 Views

Make sure you enable the correct plugin in the Project settings for the plugins that you are trying to access.

0 Kudos
PaulF_IntelCorp
Employee
1,096 Views

I recommend you use the Cordova notification plugin, not the obsolete intel.xdk plugin.

0 Kudos
Reply