blackberry / BB10-WebWorks-Framework

The BB10 WebWorks Framework is packaged within an application BAR file to run on a BB10 device (or simulator)
60 stars 34 forks source link

Cannot attach files from sandbox to email. #675

Closed franza closed 10 years ago

franza commented 10 years ago

I'm using WebWorks and having a bunch of logfile that user should be able to send to support dudes. I'm using HTML5 Filesystem API to store logfiles in the sandbox. The problem is: when I'm trying to attach logfile to the email the mail receiver cannot find attachment. Here's the code:

var filepath = Logger.fileEntry.toURL(); //file path is something like "filesystem:local:///temporary/logs/Error.log" blackberry.invoke.card.invokeEmailComposer({ subject: "Email subject", body: "Email body", to: ["my@email.com"], attachment: [filepath] });

Does email card invocation is able to attach files from HTML5 sandbox?

franza commented 10 years ago

This issue should be closed because I think that no app has access to the other app's sandbox.