0 Replies Latest reply on Nov 28, 2017 1:55 PM by jonathonk68262152

    Is it possible to get camera support on build.phonegap.com?

    jonathonk68262152

      I'm encountering no build errors.  I've added the following to my config.xml:

       

      <plugin name="cordova-plugin-file-transfer"  spec="~1.6.1" />

      <plugin name="cordova-plugin-camera" />

      <plugin name="cordova-plugin-media-capture" />

       

      and

       

      <feature name="http://api.phonegap.com/1.0/camera" />

      <feature name="http://api.phonegap.com/1.0/file" />

       

      <feature name="FileTransfer">

          <param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer" />

      </feature>

       

      Everything builds fine, but I can't use camera.getPicture() like has been mentioned in various walk-throughs.  I get an error that it is not defined.

       

      I even followed the info laid out here: Capture and Upload photo to server with PhoneGap

       

      and set up this repository which is a copy of the example files:  GitHub - jonathonklem/sizzler-visit

       

      but still, I can't access the camera and I can't even get the file browser.

       

      I understand build.phonegap.com has updated their version of Cordova or something like that, is there any guide on what needs to be done now to access the camera?