We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f73344b + 5330a32 commit caec82eCopy full SHA for caec82e
1 file changed
src/android/Sms.java
@@ -43,8 +43,8 @@ public boolean execute(String action, JSONArray args, final CallbackContext call
43
44
if (method.equalsIgnoreCase("INTENT")) {
45
invokeSMSIntent(phoneNumber, message);
46
- // the result is always false, so better pass no result for clarity
47
- callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.NO_RESULT));
+ // always passes success back to the app
+ callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK));
48
} else {
49
// by creating this broadcast receiver we can check whether or not the SMS was sent
50
if (receiver == null) {
0 commit comments