Skip to content

Commit

Permalink
fix(android): improper cache path construction during image manipulat…
Browse files Browse the repository at this point in the history
…ion (#905)
  • Loading branch information
breautek authored Oct 25, 2024
1 parent feb7643 commit 36bf8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/CameraLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ private Bitmap getScaledAndRotatedBitmap(String imageUrl) throws IOException {
// Generate a temporary file
String timeStamp = new SimpleDateFormat(TIME_FORMAT).format(new Date());
String fileName = "IMG_" + timeStamp + (getExtensionForEncodingType());
localFile = new File(getTempDirectoryPath() + fileName);
localFile = new File(getTempDirectoryPath(), fileName);
galleryUri = Uri.fromFile(localFile);
writeUncompressedImage(fileStream, galleryUri);
try {
Expand Down

0 comments on commit 36bf8e7

Please sign in to comment.