diff --git a/android/src/main/java/com/rncamerakit/CKCamera.kt b/android/src/main/java/com/rncamerakit/CKCamera.kt index c4a5292..e31d231 100644 --- a/android/src/main/java/com/rncamerakit/CKCamera.kt +++ b/android/src/main/java/com/rncamerakit/CKCamera.kt @@ -285,7 +285,7 @@ class CKCamera(context: ThemedReactContext) : FrameLayout(context), LifecycleObs // Create output options object which contains file + metadata val contentValues = ContentValues().apply { put(MediaStore.MediaColumns.DISPLAY_NAME, "IMG_" + System.currentTimeMillis()) - put(MediaStore.MediaColumns.MIME_TYPE, "image/jpg") + put(MediaStore.MediaColumns.MIME_TYPE, "image/jpeg") } // Create the output file option to store the captured image in MediaStore @@ -542,4 +542,4 @@ class CKCamera(context: ThemedReactContext) : FrameLayout(context), LifecycleObs private const val RATIO_4_3_VALUE = 4.0 / 3.0 private const val RATIO_16_9_VALUE = 16.0 / 9.0 } -} \ No newline at end of file +}