Hi,
I have the same issue described in the post, https://www.outsystems.com/forums/discussion/82780/, but I cannot use the workaround mentioned there which is to use native mobile app instead of PWA.
When tapping a "TakePicture" on mobile Chrome, Camera doesn't launched so nothing happens. When checking console of debug tool of web browser, I can see following error.
-------------------------------------------------------------------------
CameraPlugin.controller.js?J5fjKq5ZKl5oL61wnp_RCw:2371 Uncaught (in promise) ReferenceError: WebCamera is not defined at startCamera (CameraPlugin.controller.js?J5fjKq5ZKl5oL61wnp_RCw:2371:18) at CameraPlugin.controller.js?J5fjKq5ZKl5oL61wnp_RCw:2375:1 at new Promise () at CameraPlugin.controller.js?J5fjKq5ZKl5oL61wnp_RCw:2341:8 at Controller.safeExecuteJSNode (Controller.js:339:1) at Controller.safeExecuteAsyncJSNode (Controller.js:354:1) at CameraPlugin.controller.js?J5fjKq5ZKl5oL61wnp_RCw:2060:19 at d (Flow.js:84:1) at f (Flow.js:56:1) at Object.m [as executeAsyncFlow] (Flow.js:124:1)
And this only occurs when the version of Camera Plugin is 7.1.12. When I downgrade it to 7.1.11, the Camera launched as expected.
Does anyone know how to fix it?
Best regards,Ron
Hello @Ron WATANABE,
There has been a new release of the Camera Plugin (7.1.13, Under Development). This version should fix the problem you're having.
Best Regards,
Marta
That would be great!
Thank you, Marta.
Camera Plugin v7.1.14 no more has this issue.
Hi Ron,
you can use this forge here, I think it's works fine in mobile chrome
regards,
Somnath V
Hi @Somnath V
Thank you for the information. The forge seems to be based on Camera Plugin V6.2.0 and hasn't been updated for over a year. I'm afraid of having other bugs which had already fixed in the Camera Plugin, so I prefer using Camera Plugin V7.1.11 to using Camera Plugin Advanced.
But again, thank you for the information.