Closed youradds closed 7 years ago
use release not git directly
So how do you do that then? Cos I've tried it all sorts of ways, and everything broke! (either wouldn't build Phonegaps end, or gave a JS error)
did you tried this? https://github.com/hypery2k/cordova-email-plugin#phonegap-build
Yup, and I get:
phonegap.js:314 Uncaught TypeError: fn is not a function
at onAvailable (email_composer.js:101)
at Object.callbackFromNative (phonegap.js:293)
at <anonymous>:1:9
Calling with:
cordova.plugins.email.open({
to: 'me@site.co.uk', // email addresses for TO field
subject: 'Competition export file', // subject of the email
body: outputString, // email body (for HTML, set isHtml to true)
isHtml: false, // indicats if the body is HTML or plain text
});
Cheers
Andy
This is what I get:
Hi,
I used to use the katzer version of this plugin, but I can't get it to work (and it looks like it was a while since it was last updated!). I'm trying to work out why this won't work for me:
I'm calling it with this in config.xml:
<plugin spec="https://github.com/hypery2k/cordova-email-plugin" source="git" />
I see the file in the "assets" folder in the APK, so I'm a bit confused as to what I'm doing wrong?
Thanks
Andy