嗨,我嘗試添加EmailComposer中的PhoneGap 2.5.0,甚至試圖將它添加到2.0.0 & 2.2.0,但得到了同樣的錯誤如下 -EmailComposer在PhoneGap的2.5.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文件
仍然無法找到有什麼問題..它真的很緊迫,因爲我有一個截止日期,任何幫助將不勝感激
謝謝, Rita
----------------- 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>
你可以發佈你的config.xml代碼嗎?它似乎是不正確 – jcesarmobile