Thank You for answering my question.
i checked the content by console.log()
i can see phone number and it is working fine on Android.
it is not only working on iOS ( iPhone ).
Anyone can help me to solve this problem??
This is my .ts
call() {
console.log(this.phone);
if(this.phone) {
this.callNumber.callNumber(this.phone, false)
.then(() => console.log('Launched dialer!'))
.catch(() => console.log('Error launching dialer'));
}
}
sendSms() {
console.log(this.smsNumber);
if(this.smsNumber) {
var options = {
replaceLineBreaks: false,
android: {
intent: 'INTENT'
}
};
this.sms.send(this.smsNumber, "", options)
.then(() => console.log('Launched dialer!'))
.catch(() => console.log('Error launching dialer'));
}
}
these *.ts is not working on iOS.