Closed NicoleZA closed 8 years ago
Ok. I think I have found the problem. It seems to work only if you have an attachment. So, to fix the problem I moved
mail.setType("message/rfc822");
mail.setAction(android.content.Intent.ACTION_SEND_MULTIPLE);
out of the if (arg.attachments) {.... section in email.android.js and it now works with or without attachments.
Hey @NicoleZA thanks for reporting this!
Since I don't have an Android 6 device... can you do me a favor and check if it would also work if you reverted your local changes and only commented out this line? I don't think that should be there.
Thanks! Eddy
OK. Sure. I have left the office, but will test it Monday and let you know
On 19 Aug 2016 2:39 PM, "Eddy Verbruggen" notifications@github.com wrote:
Hey @NicoleZA https://github.com/NicoleZA thanks for reporting this?
Since I don't have an Android 6 device... can you do me a favor and check if it would also work if you reverted your local changes and only commented out this line https://github.com/EddyVerbruggen/nativescript-email/blob/master/email.android.js#L57? I don't think that should be there.
Thanks! Eddy
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-email/issues/4#issuecomment-241007482, or mute the thread https://github.com/notifications/unsubscribe-auth/AGPYvc1WU02xTskspHeKSKRvKHXKTFvUks5qhaQWgaJpZM4JoWHJ .
👍 Thanks in advance!
I tried what you suggested, but it didn't work.
however
I did delete that line but also still moved this code above the if (arg.attachments) { line
mail.setType("message/rfc822"); mail.setAction(android.content.Intent.ACTION_SEND_MULTIPLE);
and this works
Thanks Nicole, really appreciate you testing this. I'm releasing 1.3.1 with your suggested fix.
I get the following error on my Samsung S5 android phone:
"All apps associated with this action have been disabled, blocked, or are not installed."
I am running android 6.0.1