We have a problem with the cordova sms plugin. When you send an sms from ionic v1 app for the first time. Everything works perfect but as soon as you send a second sms the recipient has a comma after it. I'm not sure how this works but now a user will have to manually remove the separator.
var number = 48802;
$cordovaSms.send(number.toString(),message).then(
function (results) {
console.log("SMS sent! ",results);
$ionicLoading.hide();
$scope.job.paymentConfirmed = true;
submit();
},function (e) {
$ionicLoading.hide();
window.localStorage.job = JSON.stringify($scope.job);
$ionicPopup.alert({
title: 'Posting Job Failed',
template: 'Please check your airtime credit if insufficient please top up'
});
console.log("Adding a job error ",e);
}
);