Custom Cordova plugins are handled in Icenium via Cordova Plugman. For more information refer to our documentation: Working with Custom Plugins
. A plugin's plugin.xml should contain all the necessary transformations that need to take place in AndroidManifest.xml, Info.plist and config.xml, so no manually interventions are needed as per the plugins' Readme.
However, the FacebookConnect plugin
is an exception. In FacebookConnect's plugin.xml there are two placeholder values that need to replaced with their actual value so that Icenium can build your app. When you open the plugin.xml file, look for these lines:
They indicate to plugman that a couple of parameters should be passed when installing the plugin. Delete those two lines and replaces any occurrences of $APP_ID and $APP_NAME in the plugin.xml file with their actual values as obtained from the Facebook developer dashboard.
Other than that, the plugin should build fine for iOS. Please note that the plugin is not upgraded to work with Cordova 3.0 (or 2.7 for that matter), so if you plan to use it in Android as well, you should update it following the suggestion from this blog post: Why Don't My Plugins Work in PhoneGap Android 2.7?
For your convenience we have modified the plugin and attached it to this thread. You can download it and import it (see Import Custom Plugins from Archive
) into your Icenium project and it would build successfully.
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.