Sunday, 29 September 2013

Phonegap plugins Contact API not supported when running on device

Phonegap plugins Contact API not supported when running on device

I run the PhoneGap tuto written by Christophe Coenraets (
http://coenraets.org/blog/phonegap-tutorial/ ) .. no problem , I tested
then built for iOS via Adobe PhoneGap Build.. and run it on my iphone
device no issue I could use the API Contacts and API Camera ..
I then used the phonegap build ios, and open the xcode project ( XCode 5 w
Cordova lib) to run again on my connected iPhone device. The app is
running fine, but I get error msgs for API Contacts not supported and API
Camera not supported (both raised in code
if (!navigator.contacts) {
app.showAlert("Contacts API not supported", "Error");
if (!navigator.camera) {
app.showAlert("Camera API not supported", "Error");
I guess I am missing some steps related to the plugins, but I've not seen
anything about it in the doc ...

No comments:

Post a Comment