I have stepped through both tutorials that I could find for creating phonegap plugins:
- http://www.adobe.com/devnet/html5/articles/extending-phonegap-with-native-plugins-for-ios.html
- http://wiki.phonegap.com/w/page/36753496/How%20to%20Create%20a%20PhoneGap%20Plugin%20for%20iOS
and in both cases when I run the example absolutely nothing happens. I assume this is b/c I am running into an error in the javascript. Is there any way at all for me to get information about what this error is? Some way to catch exceptions or anything?
Thank you for your time,
— Henry
Try using weinre it is a really good tool to debug javascript applications on mobile devices. While running your application you can see all the errors (if any) in the console window of the tool.
http://people.apache.org/~pmuellr/weinre/docs/latest/