From 41cb02729feb3314400258f28ebbd75c3a9146f1 Mon Sep 17 00:00:00 2001 From: John Kalberer Date: Sun, 28 Aug 2016 15:09:06 -0700 Subject: [PATCH] Execute success when the SMS composer is shown This isn't the best scenario since you don't know when the message is actually sent but I think this puts the API into closer parity with the other platforms. --- src/windows/SmsProxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/SmsProxy.js b/src/windows/SmsProxy.js index 0bc7c84..417dae9 100644 --- a/src/windows/SmsProxy.js +++ b/src/windows/SmsProxy.js @@ -5,7 +5,7 @@ module.exports = { var chatMessage = new Windows.ApplicationModel.Chat.ChatMessage(); chatMessage.body = args[1]; chatMessage.recipients.push(args[0]); - Windows.ApplicationModel.Chat.ChatMessageManager.showComposeSmsMessageAsync(chatMessage); + Windows.ApplicationModel.Chat.ChatMessageManager.showComposeSmsMessageAsync(chatMessage).done(win, fail); } };