Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Camera API crashing the app in editing #2766

Closed
1 of 4 tasks
denislenz opened this issue Apr 14, 2020 · 1 comment · Fixed by #2776
Closed
1 of 4 tasks

bug: Camera API crashing the app in editing #2766

denislenz opened this issue Apr 14, 2020 · 1 comment · Fixed by #2776

Comments

@denislenz
Copy link

denislenz commented Apr 14, 2020

Bug Report

Capacitor Version

npx cap doctor output:

Installed Dependencies:

@capacitor/electron not installed
@capacitor/cli 2.0.1
@capacitor/core 2.0.1
@capacitor/ios 2.0.1
@capacitor/android 2.0.1

[success] Android looking great! �👌
[error] Xcode is not installed

Affected Platform(s)

  • Android 8.0.0
  • iOS
  • Electron
  • Web

Current Behavior

Using camera API the application crashes when I choose "Take Picture" from prompt, confirm the photo and cancel it during editing

Expected Behavior

Return without crash app

Sample Code or Sample Application Repo

Plugins.Camera.getPhoto({
     height: 100, 
     width: 100,
     quality: 80,
     allowEditing: true,
     saveToGallery: true,
     resultType: CameraResultType.Base64,
})

Reproduction Steps

  • Choose Take Picture
  • Take a photo
  • Confirm to edit
  • Edited or not, if I cancel on X the app creashes with "The app has stopped working"

Other Technical Details

npm --version output: 6.13.4

node --version output: v12.16.1

pod --version output (iOS issues only):

Other Information

Model SM-G935F

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 12, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant