Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
showToast,
io() {
try {
const SocketIO = require('nativescript-socketio').SocketIO
const address = `http://${getServerIpAddress(host, port)}`
let socketIO = new SocketIO(address, {debug: debug})
socketIO.connect()
return socketIO
} catch (error) {
console.log(error)
}
}
})
devtools.init(Vue);
}