im using hotspot native plugin wifi not connecting some devices
//this.hotspot.connectToWifiAuthEncrypt(this.id, this.pass, “OPEN”, [“CCMP”, “TKIP”, “WEP40”, “WEP104”]).then(data => {
console.log(‘Connected to User’);
display alert here
alert(data)
let toast = this.toast.create({
message:"change wifi ",
duration: 2000
});
toast.present();
this.go()
toast.dismiss();
}).catch(err =>
{
let toast = this.toast.create({
message:err,
duration: 2000
});
toast.present();
toast.dismiss();
console.log(err)
});