Cool, I am not getting errors anymore, so $cordovaEmailComposer.isAvailable().then(function() {
is working but obviously running in Ionic creator on my PC is not the correct environment to test the email in, can it be tested in the Creator Mobile App?
Whenever you’re using cordova libs, test them on a real device to get an accurate result of how the plugin/s is working
As for the Creator App, I think it should work.
You can check the docs here for more information:
I feel positive that I am on the right track, nearly there,
I packaged my app and installed it on my apple cellphone and ipad.
The web interface is giving me an expected message “Native: tried calling EmailComposer.open, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator” in my ionic creator
BUT when I test it on the device, the app loses focus, and the focus goes to my cellphone’s home tab. The app splash screen is running in the background? How do I debug or have control over the errors that might occur on the device? Or even better what is happening?
There are different ways to check the log from your iOS device, one of which is using Safari Web Inspector but you have to enable this feature from both your macOS machine and your iPhone/simulator.
At the end $cordovaEmailComposer did not work for me, I used $cordovaSocialSharing instead and it works, except i am struggling with attachments, I think I will add another topic for that. Thanks for your help