Files
Tomáš Fejfar 83034b59f7 iOS > EmailComposer > FIX: Without email account there is an error, that also prevents child browser and other plugins from further working
WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> Application tried to present a nil modal view controller on target
2012-01-17 19:49:51 +01:00
..
2011-06-29 16:08:40 +02:00

You will need to add MessageUI.framework to your project if it is not already included.

Just add the .m.h files to your project ( you can add them directly to your own project, you don't need to put them in phonegap lib ).

Place the .js file in your app root, and include it from your html.

Add to PhoneGap.plist Plugins: key com.phonegap.emailComposer value EmailComposer

This is intended to also demonstrate how to pass arguments to native code using the options/map object.

Please review the js file to understand the interface you can call, and reply with any questions.