From d096b16e8d1acdc716760b3f0f0017c1ebef0e42 Mon Sep 17 00:00:00 2001 From: Muhammad Numan Date: Thu, 16 Nov 2023 15:39:07 +0500 Subject: [PATCH] fix: android build failure --- android/src/oldarch/CompressorSpec.kt | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/android/src/oldarch/CompressorSpec.kt b/android/src/oldarch/CompressorSpec.kt index 805e510..b0fa83d 100644 --- a/android/src/oldarch/CompressorSpec.kt +++ b/android/src/oldarch/CompressorSpec.kt @@ -19,7 +19,7 @@ abstract class CompressorSpec(context: ReactApplicationContext?) : ReactContextB abstract fun generateFilePath(_extension: String, promise: Promise) abstract fun getRealPath(path: String, type: String, promise: Promise) abstract fun getVideoMetaData(filePath: String, promise: Promise) - abstract fun getImageMetaData(String filePath, Promise promise); + abstract fun getImageMetaData(filePath: String, promise: Promise); abstract fun getFileSize(filePath: String, promise: Promise) abstract fun compress(fileUrl: String, optionMap: ReadableMap, promise: Promise) abstract fun cancelCompression(uuid: String) diff --git a/package.json b/package.json index c0a5a88..cbdec16 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,9 @@ "create-thumbnail", "video-metadata", "media", - "bitrate" + "bitrate", + "exif", + "metadata" ], "repository": "https://github.com/numandev1/react-native-compressor", "author": "numandev1 (https://github.com/numandev1)",