hypery2k / cordova-hotspot-plugin

A Cordova plugin for managing HotSpot networks on Android
MIT License
37 stars 49 forks source link

function toggleWifi error #14

Closed cccoba closed 8 years ago

cccoba commented 8 years ago

Hello. I really liked your plugin. thank you

but, if i use function cordova.plugins.hotspot.toggleWifi cordova.plugins.hotspot.toggleWifi( function (isActive) { alert('wifi is on'); },function (err) { alert('error'); } ); my Android Device Monitor say Uncaught ReferenceError: successCB is not defined at file:///android_asset/www/cordova.js:312 and function is executed (wifi is toggled) without my alert

P.S. you are planning to add more function to support Wifi Direct? P.P.S. sorry for my English