Skip to content

Commit 6ec5a2b

Browse files
committed
fix version PicturePictureSelector in android
1 parent 6ef90f5 commit 6ec5a2b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ dependencies {
127127
// noinspection GradleDynamicVersion
128128
api 'com.facebook.react:react-native:+'
129129
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
130-
implementation ('io.github.lucksiege:pictureselector:v2.7.2'){
130+
implementation ('com.github.LuckSiege.PictureSelector:picture_library:v2.6.0'){
131131
exclude group: 'com.github.LuckSiege.PictureSelector', module: 'ucrop'
132132
}
133133
implementation 'com.github.bumptech.glide:glide:4.12.0'

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ class MultipleImagePickerModule(reactContext: ReactApplicationContext) : ReactCo
177177
val height: Int = asset.getInt("height")
178178
val size: Long = asset.getDouble("size").toLong()
179179
val bucketId: Long = asset.getDouble("bucketId").toLong()
180-
val dateAddedColumn: Long = Date().time.toLong()
181-
val localMedia = LocalMedia(id, path, realPath, fileName, parentFolderName, duration, chooseModel, mimeType, width, height, size, bucketId, dateAddedColumn)
180+
val localMedia = LocalMedia(id, path, realPath, fileName, parentFolderName, duration, chooseModel, mimeType, width, height, size, bucketId)
182181
return localMedia
183182
}
184183

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.4.0",
3+
"version": "0.4.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)