You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/04 12:57:17 UTC

[GitHub] [cordova-plugin-camera] breautek commented on issue #701: On Android navigator.camera is undefined (new)

breautek commented on issue #701:
URL: https://github.com/apache/cordova-plugin-camera/issues/701#issuecomment-753960171


   > a javascript runtime error is produced: Cannot read property 'getPicture' of undefined
   
   Generally this kind of error occurs if you try to access the API before the `deviceready` event fires. Ensure that you only call plugin APIs after the `deviceready` event has fired.
   
   > Build by Phonegap site
   
   I would also strongly consider moving away from Phonegap technologies and use the cordova CLI instead. PhoneGap is no longer maintained. As of Oct 2020, Adobe has completely disabled their build services, so building via Phonegap is no longer possible. Additionally the Phonegap CLI doesn't allow you to use the latest cordova releases.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org