tutorial-photo-gallery-angular icon indicating copy to clipboard operation
tutorial-photo-gallery-angular copied to clipboard

can't take photo in chrome browser

Open Agoni1 opened this issue 3 years ago • 0 comments

I cloned this project and then run 'ionic serve'. But an error occurred while taking the photo.

TypeError: Cannot read property 'takePhoto' of undefined
    at CameraPWA.capture (pwa-camera.entry.js:252)
    at CameraPWA.handleShutterClick (pwa-camera.entry.js:316)
    at HTMLDivElement.onClick (pwa-camera.entry.js:358)
    at ZoneDelegate.invokeTask (zone-evergreen.js:399)
    at Object.onInvokeTask (core.js:41442)
    at ZoneDelegate.invokeTask (zone-evergreen.js:398)
    at Zone.runTask (zone-evergreen.js:167)
    at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:480)
    at invokeTask (zone-evergreen.js:1621)
    at HTMLDivElement.globalZoneAwareCallback (zone-evergreen.js:1647)

Agoni1 avatar Jul 03 '20 07:07 Agoni1