Omey1
(Omey Nandyal)
July 23, 2023, 7:11pm
1
Has this addon been verified against V24?
Caused by: java.lang.NoSuchMethodError: 'void com.vaadin.flow.dom.Element.callFunction(java.lang.String, java.io.Serializable[])'
at org.vaadin.vcamera.VCamera.showPreview(VCamera.java:85) ~[vcamera-2.0.6.jar:2.0.6]
Sami
(Sami Ekblad)
July 24, 2023, 7:52am
2
Unfortunately, sounds like it is not. The callFunction has been replaced with callJSFunction. I updated the description, but does not sound like a big change.
Version 3.0.0 now works with Vaadin 24
Omey1
(Omey Nandyal)
July 25, 2023, 6:12pm
4
Thanks for update! I am working with the latest 4.0 code - looks to be working. I can get the component into my application.
I am testing with the VCameraDemoView.java ...
I am a bit uncertain what takes place after calling :
camera.takePicture()
I do see the setting up of the DataReceiver ...
I do see the adding of the FinishedListener ...
But I don't see the finished listener being fired after the takePicture() method is called.
Hi Omey I'am working with Vaadin 24 and version 4.0.0 of VCamera and after
camera.takePicture()
the application maka a request to somethinks like
http://localhost:8080/VAADIN/dynamic/resource/7/abd7de00-05e0-4e9d-94e2-2b2e5c452545/camera
but is returning a 403 so the data reciver can't run. Any idea?
=