Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: android build failure #245

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/src/oldarch/CompressorSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
"create-thumbnail",
"video-metadata",
"media",
"bitrate"
"bitrate",
"exif",
"metadata"
],
"repository": "https://github.com/numandev1/react-native-compressor",
"author": "numandev1 <muhammadnuman70@gmail.com> (https://github.com/numandev1)",
Expand Down
Loading