cordova-email-plugin
                                
                                 cordova-email-plugin copied to clipboard
                                
                                    cordova-email-plugin copied to clipboard
                            
                            
                            
                        Attachments don't work on Android devices with new GMail Version
Hi Team, I'm trying to get the plugin to work with attachments but I'm having serious problems with Android devices wich are using GMail as mail client. I get this error message from gmail "Permission denied for the attachment".
GMail 5.0 added some security checks to attachments it receives from an Intent. These are unrelated to unix permissions, so the fact that the file is readable doesn't matter.
Any help? I am using the IonicFramework V2 with Angular 2
EmailComposer.isAvailable().then(() => {
    let email = {
        attachments: [
            'file:///data/user/0/de.leuze.dcrConfigurator/files/configs/dcr2xxi_config_1.bct'
        ],
        subject: "MyTest",
        body: "",
        isHtml: true
    };
    // Send a text message using default options
    EmailComposer.open(email, this).then(() => { });
}).catch((reason) => {
    console.log(reason);
});
Regards Michael
don't now what they exactly did in the new Gmail client and currently really busy with other stuff