srinidhirao opened a new issue #542: Windows 10: Camera Plugin does not work
URL: https://github.com/apache/cordova-plugin-camera/issues/542
 
 
   <!--
   Please have a look at the issue templates you get when you click "New issue" 
in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] Bug Report
   - [ ] Feature Request
   - [ ] Support Question
   
   ## Description
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   Using the camera plugin fails with an error. We are building an Ionic 4 app 
targeting Windows 10 platform. 
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   ````
   Exception was thrown at line 81605, column 56 in 
ms-appx-web://io.ionic.starter/www/build/vendor.js
   0x800a138a - JavaScript runtime error: Function expected
   Exception was thrown at line 15744, column 9 in 
ms-appx-web://io.ionic.starter/www/build/vendor.js
   0x800a138a - JavaScript runtime error: Function expected
   Exception was thrown at line 3, column 19746 in 
ms-appx-web://io.ionic.starter/www/build/polyfills.js
   0x800a139e - JavaScript runtime error: Uncaught (in promise): TypeError: 
Function expected
   TypeError: Function expected
      at Camera.prototype.getPicture 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:81605:56)
      at ContactPage (ms-appx-web://io.ionic.starter/www/build/main.js:146:9)
      at createClass 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:13119:13)
      at createDirectiveInstance 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:12962:5)
      at createViewNodes 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:14420:21)
      at createRootView 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:14309:5)
      at callWithDebugContext 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:15734:9)
      at debugCreateRootView 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:15017:5)
      at ComponentFactory_.prototype.create 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:11914:9)
      at ComponentFactoryBoundToModule.prototype.create 
(ms-appx-web://io.ionic.starter/www/build/vendor.js:4666:9)
   ````
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   ````
   C:\Users\VPNUser\Documents\MyIonicProject>ionic info
   
   Ionic:
   
      ionic (Ionic CLI)  : 4.5.0 
(C:\Users\VPNUser\AppData\Roaming\npm\node_modules\ionic)
      Ionic Framework    : ionic-angular 3.9.9
      @ionic/app-scripts : 3.2.4
   
   Cordova:
   
      cordova (Cordova CLI) : 8.1.2 ([email protected])
      Cordova Platforms     : windows 6.0.1
      Cordova Plugins       : not available
   
   System:
   
      NodeJS : v12.14.0 (C:\Program Files\nodejs\node.exe)
      npm    : 6.13.4
      OS     : Windows 10
   
   ````
   
   
   ## Checklist
   <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
   
   - [x] I searched for already existing GitHub issues about this
   - [x] I updated all Cordova tooling to their most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to