i am getting error during runtime when am trying employ this plugin to dial a ussd code. my code
CallNow(passedNumber){
this.callNumber.callNumber(passedNumber, true)
.then((data) => {
console.log('Launched dialer!'+ data);
})
.catch(() => console.log('Error launching dialer'));
}
somefnc()
{
if(index==1)
this.CallNow(’*125#’)
}
}