Capacitor Version
Latest Dependencies:
@capacitor/cli: 8.1.0
@capacitor/core: 8.1.0
@capacitor/android: 8.1.0
@capacitor/ios: 8.1.0
Installed Dependencies:
@capacitor/cli: 8.1.0
@capacitor/core: 8.1.0
@capacitor/android: 8.1.0
@capacitor/ios: 8.1.0
Other API Details
pnpm: 10.29.3
node: v24.11.1
pod: 1.16.2
Platforms Affected
Current Behavior
Requesting Camera.requestPermissions({ permissions: ['camera'] }) resolve in error CapacitorException: Not implemented on web. while the photos does work.
Expected Behavior
Actually, the logic should be changed, as, on the web, opening the screenShot app should be similar to the camera, and no the photos, which is for the media library.
photos could open the upload folder though, which would be a nice addition
Project Reproduction
I'll do if needed, but don't think this is required
Additional Information
I'm open to do a PR
Capacitor Version
Latest Dependencies:
@capacitor/cli: 8.1.0
@capacitor/core: 8.1.0
@capacitor/android: 8.1.0
@capacitor/ios: 8.1.0
Installed Dependencies:
@capacitor/cli: 8.1.0
@capacitor/core: 8.1.0
@capacitor/android: 8.1.0
@capacitor/ios: 8.1.0
Other API Details
Platforms Affected
Current Behavior
Requesting
Camera.requestPermissions({ permissions: ['camera'] })resolve inerror CapacitorException: Not implemented on web.while thephotosdoes work.Expected Behavior
Actually, the logic should be changed, as, on the web, opening the
screenShotapp should be similar to thecamera, and no thephotos, which is for the media library.photoscould open the upload folder though, which would be a nice additionProject Reproduction
I'll do if needed, but don't think this is required
Additional Information
I'm open to do a PR