Replaces email-plugin by SocialShare (#4079)
This commit is contained in:
parent
ceeb8e69f0
commit
a515d47a1e
4 changed files with 32 additions and 21 deletions
|
|
@ -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() {}
|
||||
);
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue