您好我正在尝试在 Phonegap 2.5.0 中添加 EmailComposer,甚至尝试将其添加到 2.0.0 和 2.2.0 但得到与以下相同的错误 -
**
2013-04-03 15:17:57.748 email[1842:907] CDVPlugin class EmailComposer (pluginName: EmailComposer) does not exist.
2013-04-03 15:17:57.749 email[1842:907] ERROR: Plugin 'EmailComposer' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
**
我已经从 - https://github.com/phonegap/phonegap-plugins/tree/master/iOS/EmailComposer下载了插件
我有 -
- 安装 MessageUI.Framework
- 将 EmailComposer 添加到 config.xml
- 将 *.h 和 *.m 文件添加到插件文件夹
- 并在 WWW 文件夹中有 javascript 文件
仍然无法找到问题所在..它真的很紧急,因为我有一个截止日期,任何帮助将不胜感激
谢谢,丽塔
------config.xml----------
<plugins>
<plugin name="EmailComposer" value="EmailComposer" />
<plugin name="Device" value="CDVDevice" />
<plugin name="Logger" value="CDVLogger" />
<plugin name="Compass" value="CDVLocation" />
<plugin name="Accelerometer" value="CDVAccelerometer" />
<plugin name="Camera" value="CDVCamera" />
<plugin name="NetworkStatus" value="CDVConnection" />
<plugin name="Contacts" value="CDVContacts" />
<plugin name="Debug Console" value="CDVDebugConsole" />
<plugin name="Echo" value="CDVEcho" />
<plugin name="File" value="CDVFile" />
<plugin name="FileTransfer" value="CDVFileTransfer" />
<plugin name="Geolocation" value="CDVLocation" />
<plugin name="Notification" value="CDVNotification" />
<plugin name="Media" value="CDVSound" />
<plugin name="Capture" value="CDVCapture" />
<plugin name="SplashScreen" value="CDVSplashScreen" />
<plugin name="Battery" value="CDVBattery" />
<plugin name="Globalization" value="CDVGlobalization" />
<plugin name="InAppBrowser" value="CDVInAppBrowser" />
</plugins>