camera-preview icon indicating copy to clipboard operation
camera-preview copied to clipboard

captureSample is not a function

Open fr3shn3ss opened this issue 4 years ago • 3 comments

Describe the bug Uninstalled and installed the latest version (1.2.1) using npm.

"captureSample" function does not exist in "node_modules@capacitor-community\camera-preview\android\src\main\java\com\ahm\capacitor\camera\preview\CameraPreview.java"

Capacitor version: "@capacitor/android": "^2.1.2", "@capacitor/core": "2.1.2",

I understand that the latest NPM version doesn't have the captureSample function. How can I install Master. I tried a many different solutions and none of them worked

fr3shn3ss avatar Jun 06 '21 14:06 fr3shn3ss

Same problem

ufocruz avatar Jul 20 '21 14:07 ufocruz

at the moment, my work arround is installing with this command: npm install git+https://github.com/capacitor-community/camera-preview.git

ufocruz avatar Jul 28 '21 13:07 ufocruz

at the moment, my work arround is installing with this command: npm install git+https://github.com/capacitor-community/camera-preview.git

That saved me days. Hi Guys, is it possible to publish that to the NPM, please?

hodeware avatar Jul 31 '21 10:07 hodeware

Can't reproduce on version 4 of the plugin

jcesarmobile avatar Jun 08 '23 15:06 jcesarmobile