Skip to content

fix(camera): log photo capture errors on Android and iOS - #101

Open
mariomurrent-softwaresolutions wants to merge 2 commits into
ionic-team:mainfrom
mariomurrent-softwaresolutions:fix/android-camera-exception-logging
Open

mariomurrent-softwaresolutions wants to merge 2 commits into
ionic-team:mainfrom
mariomurrent-softwaresolutions:fix/android-camera-exception-logging

Conversation

@mariomurrent-softwaresolutions

@mariomurrent-softwaresolutions mariomurrent-softwaresolutions commented Nov 24, 2026 •

Copy link
Copy Markdown

Add native logging for photo capture failures that surface as OS-PLUG-CAMR-0010.

  • Android logs the exception and stack trace from manager.takePhoto(...) to Logcat under Capacitor/Camera.
  • iOS logs .takePictureIssue and its localized description to the device console under Capacitor/Camera. The iOS camera library supplies the mapped error without the original Swift error.

Both platforms continue to return the existing error code and message to JavaScript. Device testing is pending.

Closes #102.

@mariomurrent-softwaresolutions mariomurrent-softwaresolutions changed the title fix(android): log photo capture exceptions fix(camera): log photo capture errors on Android and iOS Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant