-
Notifications
You must be signed in to change notification settings - Fork 1k
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: Image is lost if choosing not to edit for Camera plugin on Android #2835
Comments
can you provide a sample app? also, latest version is 2.0.1 |
I created and ran a sample app using |
+1 the issue still exist |
+1 |
+1 (observed on Android) |
+1 (android) |
See if this commit fixes your issue: #3331 |
@sandstrom I can confirm this issue still exists in Capacitor 2.4.1 |
For me the bug is only there with the option |
Same here +1 |
1 similar comment
Same here +1 |
I confirm this issue happening in Capacitor 2.4.6 |
+1 (android) |
I am also facing the same issue in Capacitor 3. Please advise. |
I confirm this issue still exist on capacitor 3.0.0 |
+1 (android) capacitor 3.0.0 camera 1.0.3 |
+1 we have same issue on Capacitor 3. For us the issue also exists whenever you do edit the picture, then select to agree, on Xiaomi devices specifically. The plug in doesn't return any picture. |
this has been fixed in @capacitor/camera, would be available on next release. |
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. |
Bug Report
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 2.0.1
@capacitor/core: 2.0.1
@capacitor/android: 2.0.1
@capacitor/electron: 2.0.1
@capacitor/ios: 2.0.1
Installed Dependencies:
@capacitor/electron not installed
@capacitor/cli 2.0.0
@capacitor/core 2.0.0
@capacitor/ios 2.0.0
@capacitor/android 2.0.0
[success] Android looking great! 👌
Found 7 Capacitor plugins for ios:
com-darryncampbell-cordova-plugin-intent (2.0.0)
cordova-admob-plus (0.35.0)
cordova-plugin-appavailability (0.4.2)
cordova-plugin-file (6.0.2)
cordova-plugin-file-transfer (1.7.1)
[success] iOS looking great! 👌
Affected Platform(s)
Current Behavior
Original Image is not returned when you select a phone from gallery and continue without editing it.
Note: This is almost exactly the same issue as #2020. I see it is working totally fine in case of taking a picture but not in case of selecting an image from gallery.
Expected Behavior
If no edit is performed after selecting an image from gallery, original image should be returned
Sample Code or Sample Application Repo
Reproduction Steps
Call Camera Plugin code
Camera.getPhoto(..)
choose option (Select an Image from Gallery)
when edit screen pops up, click the X without making any edits
No image is returned
Other Technical Details
npm --version
output: 6.4.1node --version
output: v10.10.0pod --version
output (iOS issues only):Other Information
The text was updated successfully, but these errors were encountered: