diff --git a/android/src/main/java/com/whiteguru/capacitor/plugin/mediacapture/MediaCapturePlugin.java b/android/src/main/java/com/whiteguru/capacitor/plugin/mediacapture/MediaCapturePlugin.java index 57be9ae..e1e2de4 100644 --- a/android/src/main/java/com/whiteguru/capacitor/plugin/mediacapture/MediaCapturePlugin.java +++ b/android/src/main/java/com/whiteguru/capacitor/plugin/mediacapture/MediaCapturePlugin.java @@ -137,7 +137,7 @@ private void cameraPermissionsCallback(PluginCall call) { @NonNull private File createTempFile(String extension) throws IOException { String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.ENGLISH).format(new Date()); - String fileName = extension + "_" + timeStamp + "_"; + String fileName = "VID_" + timeStamp + "_"; File storageDir = getContext().getCacheDir(); return File.createTempFile(fileName, "." + extension, storageDir);