You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need exception handling code for when the user closes the ImagePicker using the close button, or when the modal is swiped down to close.
The close button worked as intended, but not for swipe down actions.
As a test, I replaced line 199 of the Camera.swift :
to see it work as intended.
But I don't know much about iOS, so I don't know what side effects this code will cause.
If there are no problems, can I create a pull request?
The text was updated successfully, but these errors were encountered:
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
npx cap doctor
output:Latest Dependencies:
@capacitor/cli: 2.1.1
@capacitor/core: 2.1.1
@capacitor/android: 2.1.1
@capacitor/electron: 2.1.1
@capacitor/ios: 2.1.1
Installed Dependencies:
@capacitor/android not installed
@capacitor/electron not installed
@capacitor/cli 2.1.1
@capacitor/core 2.1.1
@capacitor/ios 2.1.1
Found 0 Capacitor plugins for ios:
Affected Platform(s)
Current Behavior
Expected Behavior
Camera.getPhoto should reject promise with error message :"User cancelled photos app"
Sample Code or Sample Application Repo
Ionic-angular project
bitbucket repo
Reproduction Steps
See 30-second Video
Other Technical Details
npm --version
output: 6.13.4node --version
output: v12.16.1pod --version
output (iOS issues only): 1.8.4Other Information
I need exception handling code for when the user closes the ImagePicker using the close button, or when the modal is swiped down to close.
The close button worked as intended, but not for swipe down actions.
As a test, I replaced line 199 of the Camera.swift :
with
to see it work as intended.
But I don't know much about iOS, so I don't know what side effects this code will cause.
If there are no problems, can I create a pull request?
The text was updated successfully, but these errors were encountered: