diff --git a/android/src/main/java/com/tkporter/sendsms/SendSMSModule.java b/android/src/main/java/com/tkporter/sendsms/SendSMSModule.java index 23f0307..6304130 100644 --- a/android/src/main/java/com/tkporter/sendsms/SendSMSModule.java +++ b/android/src/main/java/com/tkporter/sendsms/SendSMSModule.java @@ -88,7 +88,9 @@ public void send(ReadableMap options, final Callback callback) { String recipientString = ""; for (int i = 0; i < recipients.size(); i++) { recipientString += recipients.getString(i); - recipientString += separator; + if(i + 1 < recipients.size()) { + recipientString += separator; + } } sendIntent.putExtra("address", recipientString); }