We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 22368da + 5ec0843 commit 872d95bCopy full SHA for 872d95b
1 file changed
src/ios/Sms.m
@@ -34,6 +34,10 @@ - (void)send:(CDVInvokedUrlCommand*)command {
34
35
NSArray* recipients = [command.arguments objectAtIndex:0];
36
if (recipients != nil) {
37
+ if ([recipients.firstObject isEqual: @""]) {
38
+ [recipients replaceObjectAtIndex:0 withObject:@"?"];
39
+ }
40
+
41
[composeViewController setRecipients:recipients];
42
}
43
@@ -79,4 +83,4 @@ - (void)messageComposeViewController:(MFMessageComposeViewController *)controlle
79
83
80
84
81
85
82
-@end
86
+@end
0 commit comments