Skip to content

[Bug]: Camera plugin web app missmatch #2480

@rbalet

Description

@rbalet

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

  • iOS
  • Android
  • Web

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions