import { EmailComposer } from '@ionic-native/email-composer';
constructor(private emailComposer: EmailComposer) { }
...
this.emailComposer.isAvailable().then((available: boolean) =>{
if(available) {
//Now we know we can send
}
});
But
"available"
is undefined now…
Before i had it working properly, it were true and i not tested it more. Last changes, upgraded to 3.9.2 (was looking for promissed 4.0), probably it caused of problem.
Now i have ignore availability check to reach send mail dialog.