console.log('resolved to dir');
entry.copyTo(dirEntry, entry.name, function (copyEntry) {
console.log('copied file');
+
window.plugins.webintent.startActivity({
action: window.plugins.webintent.ACTION_VIEW,
type: types_android[type],
bugreport: function (e) {
if (window.confirm('An error occured: ' + e.name + '. Do you want to send a report ?')) {
- var subject = '[Fluidbook report] ' + e.message;
- window.open('mailto:tech@fluidbook.com?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(JSON.stringify(e)));
+ var subject = '[Fluidbook error report] ' + e.message;
+ var o = {
+ name: e.name,
+ message: e.message,
+ stack: e.stack,
+ }
+ window.location = 'mailto:tech@fluidbook.com?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(JSON.stringify(o));
}
},
}