We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e02f6d8 commit 017ed6aCopy full SHA for 017ed6a
camera/src/web.ts
@@ -36,6 +36,9 @@ export class CameraWeb extends WebPlugin implements CameraPlugin {
36
this.cameraExperience(options, resolve, reject);
37
}
38
});
39
+ actionSheet.addEventListener('onCanceled', async () => {
40
+ reject(new CapacitorException('User cancelled photos app'));
41
+ });
42
} else {
43
44
0 commit comments