diff --git a/android/capacitor/src/main/java/com/getcapacitor/plugin/Camera.java b/android/capacitor/src/main/java/com/getcapacitor/plugin/Camera.java index dada631c2..0cb7491ed 100644 --- a/android/capacitor/src/main/java/com/getcapacitor/plugin/Camera.java +++ b/android/capacitor/src/main/java/com/getcapacitor/plugin/Camera.java @@ -119,8 +119,10 @@ private void showPrompt(final PluginCall call) { @Override public void onSelect(int index) { if (index == 0) { + settings.setSource(CameraSource.PHOTOS); openPhotos(call); } else if (index == 1) { + settings.setSource(CameraSource.CAMERA); openCamera(call); } }