Monday, June 13, 2016

Unable to get property 'copyAsync' of undefined or null reference. Cordova

When I was developing hybrid application using cordova and visual studio this err occurred  in all windows based laptops and personal computer. When you taking a photo from the app it's stopping with following error message.

 
Unable to get property 'copyAsync' of undefined or null reference.


Solution

Just uninstall the cordova-plugin-camera using configuration section and install it again.


1 comment:

  1. This fixed it for me. It seems that uninstalling / reinstalling updates the plugin version. Before we had 2.1.1, now we have 2.2.0.

    Thank you!

    ReplyDelete