Capacitor Camera always creates an image on internal device storage (Android)

When using the Capacitor Camera Plugin it seems that every picture is also saved as jpeg on Android’s internal storage.

For example using the camera plugin showcase app ( will create a .jpeg file under ./Android/data/ event if the returned image from Camera.getPhoto is discarded immediately and no additional processing is done. In the regular showcase app mentioned above the file still exists, after you ‘delete’ an image from within the application.

Is it possible to prevent this behavior? I’ve tried different settings and camera options but haven’t found a solution for this problem yet.

Thanks for any advice,