You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: @capacitor/camera - Console (F12) error (undefined) clicking on the camera icon when still loading the camera or not alowing the permission yet.
#2064
Open
1 of 3 tasks
Aareonick opened this issue
Mar 19, 2024
· 3 comments
Console (F12) error (undefined) clicking on the camera icon when still loading the camera.
(Camera before camera is loaded/visible.)
(Error)
Console (F12) error (undefined) clicking on the camera icon when not alowing the permission yet.
(Camera before permission is not allowed yet.)
(Error)
Expected Behavior
Unable to click the camera (or other buttons when resulting in a error) when the camera is still loading or the permission is not allowed yet. Also possible to hide the buttons or give a indication with a message (Loading... / Waiting for camera permission...).
Project Reproduction
test-case.zip
(Newest versions used with reproduction. Use 'npm i' for installing the packages and 'ng serve' to run the application.)
Additional Information
The hardware/software used to reproduce the problem:
Surface Book 3 (Slow system, Loading takes a longer time)
Windows 11 Pro
The text was updated successfully, but these errors were encountered:
This issue has been labeled as type: bug. This label is added to issues that that have been reproduced and are being tracked in our internal issue tracker.
Capacitor Version
Latest Dependencies:
@capacitor/cli: 5.7.2
@capacitor/core: 5.7.2
@capacitor/android: 5.7.2
@capacitor/ios: 5.7.2
Installed Dependencies:
@capacitor/cli: 5.5.1
@capacitor/android: 5.5.1
@capacitor/core: 5.5.1
@capacitor/ios: 5.5.1
Other API Details
Platforms Affected
Current Behavior
Issues:
(Camera before camera is loaded/visible.)
(Error)
(Camera before permission is not allowed yet.)
(Error)
Expected Behavior
Unable to click the camera (or other buttons when resulting in a error) when the camera is still loading or the permission is not allowed yet. Also possible to hide the buttons or give a indication with a message (Loading... / Waiting for camera permission...).
Project Reproduction
test-case.zip
(Newest versions used with reproduction. Use 'npm i' for installing the packages and 'ng serve' to run the application.)
Additional Information
The hardware/software used to reproduce the problem:
Surface Book 3 (Slow system, Loading takes a longer time)
Windows 11 Pro
The text was updated successfully, but these errors were encountered: