cordova-plugin-email-composer: Plugin doesn't work on Android

I’m trying to send a simply email on my android device with this plugin but it doesn’t work. I tested it on some Android device with some Android version. After i call the function:

cordova.plugins.email.open({app: 'mailto'}, function () {
    console.log('email view dismissed');
}, this);

the callback is immediatly trigged and nothing happen. On Ios all work very well.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 26 (1 by maintainers)

Most upvoted comments

I solved this problem by installing this:

cordova plugin add https://github.com/katzer/cordova-plugin-email-composer.git#0.8.2

and remove the last version.

Same issue for me since I’ve update my corodova cli version to 6.0.0. On iOS (cordova verison 4.0.1) it’s work but on Android (cordova version 5.1.1) it’s fail.

The code below return : “Service is not available” and I don’t know why.

cordova.plugins.email.isAvailable(
    function (isAvailable) {
        console.log('Service is not available.');
    }
);

Try to use the cordova-plugin-email. !