Skip to content

Photo capture failures lack native diagnostics for OS-PLUG-CAMR-0010 #102

Backlog

Description

When Camera.takePhoto() returns OS-PLUG-CAMR-0010 (“Couldn’t take photo”), native logs lack context for diagnosing the failure.

  • Android: IonCameraFlow.openCamera() discards exceptions thrown by manager.takePhoto(...) before returning the generic error.
  • iOS: The plugin forwards .takePictureIssue from the native camera library to JavaScript without logging it. The library supplies the mapped error without the original Swift error.

Expected behavior: Log the available native diagnostics while preserving the JavaScript error code and message.

Proposed fix: #101.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions