Software Archive
Read-only legacy content
17060 토론

Notification alert

zipsoft_z_
초급자
1,094 조회수

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 포인트
3 응답
Ad
새로운 기여자 III
1,094 조회수

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 포인트
John_H_Intel2
직원
1,094 조회수

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

0 포인트
PaulF_IntelCorp
1,094 조회수

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

0 포인트
응답