I have a iOS custom phonegap plugin packaged as a iOS static library. When I try to include this library in any other phonegap project, I am getting the PHONEGAP error on my console:
ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml
As suggested, I am suspecting the config.xml is to be blamed. I wanted to know how/what is the right way of referencing an iOS plugin class (which is inside a static library) in the config.xml
Current implementation:
eg:
<feature name="CustomPlugin">
<param name="ios-package" value="CustomPlugin"/>
</feature>
where the static library included is libCustomPlugin.a(containing object ~ CustomPlugin.o) and the header is CustomPlugin.h
Thanks in advance