Skip to content

Commit df94ac3

Browse files
committed
fix: mime response in android(mine -> mime)
1 parent c23fd0a commit df94ac3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class MultipleImagePickerModule(reactContext: ReactApplicationContext) : ReactCo
169169
val parentFolderName: String? = asset.getString("parentFolderName")
170170
val duration: Long = asset.getDouble("duration").toLong()
171171
val chooseModel: Int = asset.getInt("chooseModel")
172-
val mimeType: String? = asset.getString("mine")
172+
val mimeType: String? = asset.getString("mime")
173173
val width: Int = asset.getInt("width")
174174
val height: Int = asset.getInt("height")
175175
val size: Long = asset.getDouble("size").toLong()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@baronha/react-native-multiple-image-picker",
3-
"version": "0.3",
3+
"version": "0.3.1",
44
"description": "react-native-multiple-image-picker enables application to pick images and videos from multiple smart album in iOS/Android, similar to the current facebook app.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)