Replaces email-plugin by SocialShare (#4079)

This commit is contained in:
Gustavo Maximiliano Cortez 2016-04-15 10:26:51 -03:00 committed by Matias Alejo Garcia
commit a515d47a1e
4 changed files with 32 additions and 21 deletions

View file

@ -11,11 +11,15 @@ function(historicLog) {
return v.msg;
}).join('\n');
var properties = {
subject: 'Copay Logs',
body: body,
isHtml: false
};
window.plugin.email.open(properties);
window.plugins.socialsharing.shareViaEmail(
body,
'Copay Logs',
null, // TO: must be null or an array
null, // CC: must be null or an array
null, // BCC: must be null or an array
null, // FILES: can be null, a string, or an array
function() {},
function() {}
);
};
});