Coder Social home page Coder Social logo

baronha / react-native-multiple-image-picker Goto Github PK

View Code? Open in Web Editor NEW
348.0 348.0 95.0 139.39 MB

🏞 react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android, similar to the current Facebook app.

License: MIT License

Kotlin 13.61% JavaScript 3.93% Java 4.23% TypeScript 0.09% Swift 74.82% C 0.06% Objective-C 0.56% Ruby 2.05% Objective-C++ 0.63%
image-picker ios multi-selector native-module photo picker react-native swift video

react-native-multiple-image-picker's Introduction

react-native-multiple-image-picker's People

Contributors

baronha avatar cd-butterfly avatar crockalet avatar ctrleffive avatar denisbevilacqua avatar hieuphan1030 avatar itsnyx avatar pnthach95 avatar rxdsrex avatar vivianlys90 avatar ymane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-multiple-image-picker's Issues

Error when touch on the photo selection

Hi, that is great pakage, config pakage so easy, fast. But when touch on the photo selection, it action good while i touch to circle, but when I touch outside of the circle (background) the app crashes (Android)

After selecting an image in the simulator, it doesn't close.

Steps to Reproduce

  1. Operate MultipleImagePicker.openPicker.
  2. The image selection modal opens.
  3. After selection, it cannot proceed to the next without any errors.
  4. But, it works normally on real devices.
  • It doesn't go to the next step.

스크린샷 2021-10-29 오후 12 45 59

code

    // handler
    const handleImagePicker = async () => {
        try {
            const image = await MultipleImagePicker.openPicker({
                // selectedAssets: images,
                usedCameraButton: true,
                isExportThumbnail: true,
                maxVideo: 1,
                maxSelectedAssets: 4,
                doneTitle: '완료',
                cancelTitle: '취소',
                tapHereToChange: '변경하려면 여기를 누르세요.',
                singleSelectedMode: false
                // selectedColor: '#f9813a',
            });
        } catch (e) {
            console.log('error', e);
        } finally {
            console.log('finally')
        }
    };

Demo

Since it is a corporate project, it is not possible to share a reproduction of the demo...

Environment

  • react-native-multiple-image-picker: 0.4.7
  • react-native version: 0.64.2
  • iOS/Android/Windows version: ios simulator
  • Does this reproduce on a debug build or release build? yes
  • Does this reproduce on a simulator, or only on a physical device? simulator

[Question] Record video on iOS?

Hi,

It's me again :D. I have a question that is there an option to record video from the camera button? It only can take photos now on iOS.

Thank you so much

Android build - Execution failed for task ':app:checkDebugDuplicateClasses'.

I got "Execution failed for task ':app:checkDebugDuplicateClasses'." error with android build in 0.4.8. But after I modified the ../node_modules/react-native-photo-editor/android/build.gradle file as below. It can build successfully. Is it need a update version of this library. Thanks.

From:
implementation 'com.github.yalantis:ucrop:2.2.2-native'
To:
compileOnly 'com.github.yalantis:ucrop:2.2.2-native'

Error message below:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugDuplicateClasses'.

1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class com.yalantis.ucrop.UCrop found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCrop$Options found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$1 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$2 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$3 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$4 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$5 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$6 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$7 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$8 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.UCropActivity$GestureTypes found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.callback.BitmapCropCallback found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.callback.BitmapLoadCallback found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.callback.CropBoundsChangeListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.callback.OverlayViewChangeListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.model.AspectRatio found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.model.AspectRatio$1 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.model.CropParameters found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.model.ExifInfo found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.model.ImageState found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.task.BitmapCropTask found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.task.BitmapLoadTask found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.task.BitmapLoadTask$BitmapWorkerResult found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.BitmapLoadUtils found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.CubicEasing found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.EglUtils found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.FastBitmapDrawable found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser$RandomAccessReader found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser$Reader found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.ImageHeaderParser$StreamReader found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.RectUtils found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.RotationGestureDetector found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.RotationGestureDetector$OnRotationGestureListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.RotationGestureDetector$SimpleOnRotationGestureListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.util.SelectedStateListDrawable found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.CropImageView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.CropImageView$WrapCropBoundsRunnable found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.CropImageView$ZoomImageToPosition found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$1 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$GestureListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$RotateListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.GestureCropImageView$ScaleListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.OverlayView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.OverlayView$FreestyleMode found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.TransformImageView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.TransformImageView$1 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.TransformImageView$TransformImageListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.UCropView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.UCropView$1 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.UCropView$2 found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.widget.AspectRatioTextView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)
Duplicate class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView$ScrollingListener found in modules jetified-pictureselector-v2.7.3-rc08-runtime.jar (io.github.lucksiege:pictureselector:v2.7.3-rc08) and jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native)

Go to the documentation to learn how to Fix dependency resolution errors.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

Slow at the first opening

Hi Ha,

It's been so nice using your lib. However, it opens really slow on real device when the app is reopened. Any suggestions please? Thank you.

Have a great week and stay safe !

RPReplay_Final162735568.mp4

Lỗi đóng tất cả Modal khi chọn xong thư viện ảnh

Hi bạn,
Cảm ơn bạn đã chia sẻ thư viện xịn xò này nhá.

Mình đang bị bug là khi mình mở camera của mình lên (năm trong modal mình dùng rn camera). Từ Camera mình mở thư viện ảnh lên, sau đó mình chọn xong "done" hoặc "cancel" thì đáng ra nó về lại Camera cho mình nhưng nó tắt luôn cả cái modal của Camera mặc dù visible vẫn là true ạ. Không biết mình có làm sai gì không. Mong bạn giúp.

*Update: Android cần remove react-native-image-crop-picker thì chạy được ạ.
Cash trên android khi select hình.

Cảm ơn bạn nhiều ạ

Image path does not start with file://

First of all, thank you for developing this amazing library.
When I works on ios, it works perfectly. However, on android, the image path looks like:
content:// or storage:// .
Since I am trying to show image after picking them. So I need to manually add file:// before the second case.
And I need to convert these uri into path to read these file. Is there any suggestion about this? Thanks!

[TypeError: null is not an object (evaluating 'MultipleImagePicker.openPicker')] in ios

I configured already:
1 . NSCameraUsageDescription
1
NSLocationWhenInUseUsageDescription

NSPhotoLibraryAddUsageDescription
1
NSPhotoLibraryUsageDescription
1
2. change this "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)" to "$(TOOLCHAIN_DIR)/usr/lib/swift-5.3/$(PLATFORM_NAME)"

still not work on ios ("react-native": "^0.64.0"). but android work as a charm. thanks)

How to handle live pictures on iOS?

I have selected allowedLivePhotos=true.

Live photos showing fine in the image picker.
But after I select, how do I show the l live photo within react native, or get the full path for uploading?

Right now only getting HEIC which seems to be just the image.

App build fails after installing the package: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade>

I have just installed the package and am facing trouble when i try to build. I have tried ./gradlew clean but it didn't help.
These permissions were already present in my AndroidMainfest so i omited add them as per the docs.

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

I tried removing package and the build worked properly and when I tried re-instatlling the package the build fails with the same following error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /home/newuser/.gradle/caches/transforms-2/files-2.1/76e4b8003c8ce18ec71d3df18fc6dabc/picture_library-v2.6.0/AndroidManifest.xml:14:5-21:15: AAPT: error: unexpected element <queries> found in <manifest>.

Can't build on xcode

Hi!

I followed the instructions on the readme for xcode 12.4, however, I can't get the build working.

I'm getting tons of errors, here's a screenshot:

image

Any ideas on how to fix it?

Cheers!

Only giving error ! Not Android build successful .

There are so many errors in front of during android build up this package. Plz fix these bugs or remove the package if you can't maintain this package. People have to waste time on this. Not a good package at all.

following field missing from options type

const response = await MultipleImagePicker.openPicker({

const response = await MultipleImagePicker.openPicker({
selectedAssets: images,
// isExportThumbnail: true,
// maxVideo: 1,
usedCameraButton: false,
singleSelectedMode: true,
// isCrop: true,
// isCropCircle: true,
// selectedColor: '#f9813a',
});

  missing fields in type definition:
  isExportThumbnail:
  maxVideo
  isCrop
  isCropCircle:
  
  Need these adding back into the type if this is to work. 
  
  EG:

export type Options = {
isPreview?: boolean;
selectedColor?: string;
selectedAssets?: Results[];
tapHereToChange?: string;
cancelTitle?: string;
doneTitle?: string;
emptyMessage?: string;
emptyImage?: Image;
usedCameraButton?: boolean;
usedPrefetch?: boolean;
previewAtForceTouch?: boolean;
allowedLivePhotos?: boolean;
allowedVideo?: boolean;
allowedAlbumCloudShared?: boolean;
allowedPhotograph?: boolean; // for camera ?: allow this option when you want to take a photos
allowedVideoRecording?: boolean; //for camera ?: allow this option when you want to recording video.
maxVideoDuration?: Number; //for camera ?: max video recording duration
autoPlay?: boolean;
muteAudio?: boolean;
preventAutomaticLimitedAccessAlert?: boolean; // newest iOS 14
mediaType?: string;
numberOfColumn?: number;
maxSelectedAssets?: number;
fetchOption?: Object;
fetchCollectionOption?: Object;
singleSelectedMode?: boolean;
maximumMessageTitle?: string;
maximumMessage?: string;
messageTitleButton?: string;
//resize thumbnail
thumbnailWidth?: number;
thumbnailHeight?: number;
haveThumbnail?: boolean;

// Added Fields
isExportThumbnail?:Image;
maxVideo?: number;
isCrop?: boolean;
isCropCircle?: boolean;

}

in file https://github.com/baronha/react-native-multiple-image-picker/blob/main/src/index.d.ts

Android openPicker return empty response

Hi @baronha , I am getting empty response after done select my image using openPicker.

Here is my code:
Screenshot 2021-07-12 at 1 46 33 PM

And the log return -> openPicker done: []

  • Image Picker version: 0.2.10

  • React Native version: 0.63

  • Platform: Android

Build fail on android

I got this error when building android.
Lib version : 0.4.6;
Please take a look! Thanks

image

Help

this package is working very well.
but i have following error when i use it with react-native-photo-editor.

Duplicate class com.yalantis.ucrop.view.OverlayView$FreestyleMode found in modules jetified-ucrop-2.2.2-native-runtime.jar (com.github.yalantis:ucrop:2.2.2-native) and jetified-ucrop-v2.6.0-runtime.jar (com.github.LuckSiege.PictureSelector:ucrop:v2.6.0)

Do you know how can i solve this ?

Project with path ':picture_library' could not be found in project

Version 0.4.5 build failed on Android:

* Where:
Build file 'path-to-project\node_modules\@baronha\react-native-multiple-image-picker\android\build.gradle' line: 130

* What went wrong:
A problem occurred evaluating project ':baronha_react-native-multiple-image-picker'.
> Project with path ':picture_library' could not be found in project ':baronha_react-native-multiple-image-picker'.

select video only

Thanks for this awesome library ,
Is there anyway to select only videos ?
I also have empty array result when i set singleSelectedMode to true

rebuild fail on ios and android after install plugin

yarn add @baronha/react-native-multiple-image-picker
(info.plist already configure)
cd ios/ && pod install
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.3/$(PLATFORM_NAME)". (and build on xcode got fail too)

  • error on android:
    Screen Shot 2021-05-06 at 1 41 53 PM

  • on ios
    Screen Shot 2021-05-06 at 12 28 03 PM
    Screen Shot 2021-05-06 at 12 28 42 PM
    Screen Shot 2021-05-06 at 12 28 58 PM

Can not display the picked photos

Hi, that's a great package. But I have a problem when using it, after picked the photos, the photos are not displayed. I think the problem is those photos are stored on iCloud. How can I fix the problem?
Thanks.

Build fail ios

I got error missing react-native-multiple-image-picker in Pods when build ios
image

Support for React Native 0.64

Hi there, hope you're all good.
You know i just upgrade my project to the latest version of RN. However, when compiling I get the following error:

CompileSwift normal x86_64 /Users/xxx/Documents/projectName/mobile/node_modules/@baronha/react-native-multiple-image-picker/ios/MultipleImagePicker.swift PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/xxx/Library/Developer/Xcode/DerivedData/spixp-bvnhzwqgqcverogvbrofgozgqvsx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E00021CF0.sh

Everything works as intended on RN 0.63.2. Do you plan on supporting 0.64? Thank you so much

[Android] Keeps Crashing When Pressing Photo on CameraRoll

I have pressed on the photo then my app crashes.

image

Logs

AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/yalantis/ucrop/UCrop$Options;
AndroidRuntime:        at com.luck.picture.lib.PictureSelector.openGallery(PictureSelector.java:71)
AndroidRuntime:        at com.reactnativemultipleimagepicker.MultipleImagePickerModule.openPicker(MultipleImagePickerModule.kt:52)
AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
AndroidRuntime:        at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
AndroidRuntime:        at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
AndroidRuntime:        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
AndroidRuntime:        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27
)
AndroidRuntime:        at android.os.Looper.loop(Looper.java:223)
AndroidRuntime:        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
AndroidRuntime:        at java.lang.Thread.run(Thread.java:923)
AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.yalantis.ucrop.UCrop$Options" on path: DexPathLis
t[[zip file "/data/app/~~vqM-cME_je1c7s0seLooqQ==/com.example-Md21MKbEL7n4eeYER9lF2g==/base.apk"],nativeLibraryDirectories=[/data/app/~~vqM-cME_je1c7s0seLo
oqQ==/com.example-Md21MKbEL7n4eeYER9lF2g==/lib/x86_64, /data/app/~~vqM-cME_je1c7s0seLooqQ==/com.example-Md21MKbEL7n4eeYER9lF2g==/base.apk!/lib/x
86_64, /system/lib64, /system_ext/lib64]]
AndroidRuntime:        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
AndroidRuntime:        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
AndroidRuntime:        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
AndroidRuntime:        ... 12 more
ActivityTaskManager:   Force finishing activity com.example/com.luck.picture.lib.PicturePreviewActivity
DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
goldfish-address-space: claimShared: Ask to claim region [0x3e1b0a000 0x3e201a000]
ActivityTaskManager:   Force finishing activity

Could not find a declaration file for module '@baronha/react-native-multiple-image-picker'.

IDE: VScode

Language: Typescript

Workflow: Expo (SDK 41)

How it occurred:

  1. yarn add @baronha/react-native-multiple-image-picker
  2. write import MultipleImagePicker from "@baronha/react-native-multiple-image-picker"; in my code
  3. raised a problem

Problem detail:
Could not find a declaration file for module '@baronha/react-native-multiple-image-picker'. '/myproject/node_modules/@baronha/react-native-multiple-image-picker/lib/commonjs/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/baronha__react-native-multiple-image-picker if it exists or add a new declaration (.d.ts) file containing `declare module '@baronha/react-native-multiple-image-picker';

no reject callback when cancel to select

when pressed cancel button on the header, there is no rejected execution callback called.
(=> function exited without catched on try-catch block)

try{ await MultipleImagePicker.openPicker({}) }catch(error){ console.log(error); // nothing logged on console }

Camera not working in Android

I am using library in android. With:
await MultipleImagePicker.openPicker({mediaType: 'image'})

  • Camera button in first row not open camera here!!
    Please help me!

Camera button not working

Hi again!

First of all, thanks a lot for all the work on this great library 🎉

I'm facing this issue where pressing the Camera button on the image picker does nothing:

I'm using a basic call for opening the picker:

  async handlePress() {
    await MultipleImagePicker.openPicker({ mediaType: 'image' })
  }

I reviewed all the documentation and found no way to configure its behaviour.

Would it be possible to get some help about this? Thanks!

npm run android: Manifest merger failed error on task ':app:processDebugManifest'

Hi!

I'm integrating this library on our app, www.abillion.com. On iOS it works great, but trying to run it on Android gives me the following error:

Error log

▶ npm run android

> [email protected] android
> react-native run-android

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 4266 file(s) to forward-jetify. Using 12 workers...
info JS server already running.
info Installing the app...
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :react-native-firebase_analytics
:react-native-firebase_analytics package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/analytics/package.json
:react-native-firebase_app package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_analytics:firebase.bom using default value: 26.6.0
:react-native-firebase_analytics package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/analytics/package.json
:react-native-firebase_analytics:version set from package.json: 11.0.0 (11,0,0 - 11000000)
:react-native-firebase_analytics:android.compileSdk using custom value: 29
:react-native-firebase_analytics:android.targetSdk using custom value: 29
:react-native-firebase_analytics:android.minSdk using custom value: 16
:react-native-firebase_analytics:reactNativeAndroidDir /Users/mparramon/projects/mobile/node_modules/react-native/android

> Configure project :react-native-firebase_app
:react-native-firebase_app package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_app:firebase.bom using default value: 26.6.0
:react-native-firebase_app:play.play-services-auth using default value: 19.0.0
:react-native-firebase_app package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_app:version set from package.json: 11.0.0 (11,0,0 - 11000000)
:react-native-firebase_app:android.compileSdk using custom value: 29
:react-native-firebase_app:android.targetSdk using custom value: 29
:react-native-firebase_app:android.minSdk using custom value: 16
:react-native-firebase_app:reactNativeAndroidDir /Users/mparramon/projects/mobile/node_modules/react-native/android

> Configure project :react-native-firebase_iid
:react-native-firebase_iid package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/iid/package.json
:react-native-firebase_app package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_iid:firebase.bom using default value: 26.6.0
:react-native-firebase_iid package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/iid/package.json
:react-native-firebase_iid:version set from package.json: 11.2.0 (11,2,0 - 11002000)
:react-native-firebase_iid:android.compileSdk using custom value: 29
:react-native-firebase_iid:android.targetSdk using custom value: 29
:react-native-firebase_iid:android.minSdk using custom value: 16
:react-native-firebase_iid:reactNativeAndroidDir /Users/mparramon/projects/mobile/node_modules/react-native/android

> Configure project :react-native-firebase_remote-config
:react-native-firebase_remote-config package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/remote-config/package.json
:react-native-firebase_app package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_remote-config:firebase.bom using default value: 26.6.0
:react-native-firebase_remote-config package.json found at /Users/mparramon/projects/mobile/node_modules/@react-native-firebase/remote-config/package.json
:react-native-firebase_remote-config:version set from package.json: 11.0.0 (11,0,0 - 11000000)
:react-native-firebase_remote-config:android.compileSdk using custom value: 29
:react-native-firebase_remote-config:android.targetSdk using custom value: 29
:react-native-firebase_remote-config:android.minSdk using custom value: 16
:react-native-firebase_remote-config:reactNativeAndroidDir /Users/mparramon/projects/mobile/node_modules/react-native/android

> Configure project :react-native-push-notification
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
It will be removed in version 5.0 of the Android Gradle plugin.
For more information, see http://d.android.com/r/tools/update-dependency-configurations.html.
WARNING: The specified Android SDK Build Tools version (28.0.3) is ignored, as it is below the minimum supported version (29.0.2) for Android Gradle Plugin 4.0.1.
Android SDK Build Tools 29.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '28.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':baronha_react-native-multiple-image-picker', ':react-native-webview'

> Task :app:processDebugManifest FAILED

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

ReactNativeFirebase WARNING: NPM package '@react-native-firebase/iid' depends on '@react-native-firebase/app' v11.2.0 but found v11.0.0, this might cause build issues or runtime crashes.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
240 actionable tasks: 235 executed, 5 up-to-date
/Users/mparramon/projects/mobile/android/app/src/main/AndroidManifest.xml:31:13-69 Error:
	Attribute activity#com.yalantis.ucrop.UCropActivity@theme value=(@style/Theme.AppCompat.Light.NoActionBar) from [:react-native-image-crop-picker] AndroidManifest.xml:31:13-69
	is also present at [com.github.LuckSiege.PictureSelector:picture_library:v2.6.0] AndroidManifest.xml:66:13-58 value=(@style/Base.Theme.NoActionBar).
	Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:29:9-31:72 to override.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute activity#com.yalantis.ucrop.UCropActivity@theme value=(@style/Theme.AppCompat.Light.NoActionBar) from [:react-native-image-crop-picker] AndroidManifest.xml:31:13-69
  	is also present at [com.github.LuckSiege.PictureSelector:picture_library:v2.6.0] AndroidManifest.xml:66:13-58 value=(@style/Base.Theme.NoActionBar).
  	Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:29:9-31:72 to override.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 47s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/Users/mparramon/projects/mobile/android/app/src/main/AndroidManifest.xml:31:13-69 Error:
npm ERR! code 1
npm ERR! path /Users/mparramon/projects/mobile
npm ERR! command failed
npm ERR! command sh -c react-native run-android

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/mparramon/.npm/_logs/2021-04-15T04_18_32_056Z-debug.log

Here is our package.json:

package.json

{
  "name": "abvmobile",
  "version": "2.0.0",
  "private": true,
  "devDependencies": {
    "@abillionveg/eslint-config": "^1.4.2",
    "@babel/core": "^7.8.4",
    "@babel/plugin-proposal-class-properties": "^7.10.4",
    "@babel/plugin-transform-flow-strip-types": "^7.10.4",
    "@babel/runtime": "^7.8.4",
    "@expo/vector-icons": "^6.3.1",
    "@react-native-firebase/iid": "11.2.0",
    "@sentry/cli": "^1.63.1",
    "@testing-library/jest-native": "^3.4.3",
    "@testing-library/react-native": "^7.0.2",
    "babel-jest": "^25.1.0",
    "babel-preset-react-native-stage-0": "^1.0.1",
    "bdd-lazy-var": "^2.6.0",
    "eslint": "7.21.0",
    "eslint_d": "7.3.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-jest": "^24.3.4",
    "eslint-plugin-react": "^7.13.0",
    "eslint-plugin-react-native": "^3.7.0",
    "expo": "^25.0.0",
    "husky": "^6.0.0",
    "jest": "26.4.2",
    "jest-react-native": "^18.0.0",
    "jetifier": "^1.6.4",
    "lint-staged": "^10.5.4",
    "metro-react-native-babel-preset": "^0.63.0",
    "prettier": "^2.2.1",
    "prompts": "^2.4.1",
    "react-devtools": "^3.6.0",
    "react-native-performance-monitor": "^1.2.1",
    "react-test-renderer": "16.13.1"
  },
  "scripts": {
    "android": "react-native run-android",
    "build:android": "react-native bundle --entry-file='index.js' --bundle-output='./android/app/src/main/assets/index.android.bundle' --sourcemap-output='./android/app/src/main/assets/index.android.bundle.map'",
    "build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --sourcemap-output='./ios/main.jsbundle.map' --dev=false --platform='ios'",
    "bump:build": "bundle exec fastlane bump_build",
    "bump:major": "npm version major --no-git-tag-version && bundle exec fastlane bump",
    "bump:minor": "npm version minor --no-git-tag-version && bundle exec fastlane bump",
    "bump:patch": "npm version patch --no-git-tag-version && bundle exec fastlane bump",
    "codepush": "node scripts/codepush.js",
    "ios": "react-native run-ios",
    "ios:small": "react-native run-ios --simulator=\"iPhone SE (2nd generation)\"",
    "lint": "eslint --ext .js --ext .jsx .",
    "postinstall": "patch-package && jetifier",
    "prepare": "husky install",
    "prettier:check": "prettier --check .",
    "prettier:fix": "prettier --write .",
    "react-devtool": "react-devtools",
    "sourcemap:upload": "scripts/upload_sourcemap.sh",
    "start": "react-native start --reset-cache",
    "test": "jest",
    "test:coverage": "jest --coverage",
    "test:coverage:summary": "jest --coverage --coverageReporters=\"text-summary\""
  },
  "jest": {
    "preset": "react-native",
    "verbose": true,
    "setupFiles": [
      "<rootDir>/jest/jest.setup.js"
    ],
    "setupFilesAfterEnv": [
      "@testing-library/jest-native/extend-expect",
      "bdd-lazy-var/global"
    ],
    "transform": {
      "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
    },
    "collectCoverageFrom": [
      "**/*.{js,jsx}",
      "!**/node_modules/**",
      "!**/android/**",
      "!**/ios/**"
    ]
  },
  "dependencies": {
    "@baronha/react-native-multiple-image-picker": "^0.2.9",
    "@react-native-community/art": "1.2.0",
    "@react-native-community/async-storage": "1.11.0",
    "@react-native-community/cameraroll": "1.7.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-native-community/progress-bar-android": "1.0.3",
    "@react-native-community/progress-view": "1.1.0",
    "@react-native-firebase/analytics": "11.0.0",
    "@react-native-firebase/app": "11.0.0",
    "@react-native-firebase/remote-config": "11.0.0",
    "@sentry/react-native": "2.3.0",
    "@welldone-software/why-did-you-render": "6.0.5",
    "algoliasearch": "3.35.1",
    "appcenter": "4.0.2",
    "appcenter-analytics": "4.0.2",
    "appcenter-crashes": "4.0.2",
    "axios": "0.19.2",
    "lodash": "4.17.20",
    "patch-package": "^6.2.2",
    "prettier": "^2.2.1",
    "prop-types": "15.7.2",
    "querystring": "0.2.0",
    "react": "16.13.1",
    "react-native": "0.63.2",
    "react-native-amplitude-analytics": "0.2.8",
    "react-native-android-open-settings": "1.3.0",
    "react-native-appsflyer": "6.2.30",
    "react-native-camera": "3.40.0",
    "react-native-code-push": "7.0.0",
    "react-native-communications": "2.2.1",
    "react-native-device-info": "6.2.1",
    "react-native-dotenv": "2.4.1",
    "react-native-exception-handler": "2.10.8",
    "react-native-fast-image": "8.3.2",
    "react-native-fbsdk": "3.0.0",
    "react-native-flash-message": "github:imouto2005/react-native-flash-message",
    "react-native-geolocation-service": "5.2.0",
    "react-native-gesture-handler": "1.7.0",
    "react-native-haptic-feedback": "1.11.0",
    "react-native-image-crop-picker": "0.35.2",
    "react-native-image-resizer": "1.2.3",
    "react-native-keyboard-aware-scroll-view": "0.9.3",
    "react-native-linear-gradient": "2.5.6",
    "react-native-localize": "1.4.0",
    "react-native-maps": "0.27.1",
    "react-native-markdown-renderer": "3.2.8",
    "react-native-moengage": "7.0.0",
    "react-native-open-maps": "0.3.5",
    "react-native-pdf": "6.2.0",
    "react-native-permissions": "3.0.0",
    "react-native-push-notification": "3.1.2",
    "react-native-rate": "1.2.1",
    "react-native-reanimated": "1.10.1",
    "react-native-restart": "0.0.17",
    "react-native-safe-area-context": "3.1.9",
    "react-native-screens": "1.0.0-alpha.23",
    "react-native-splash-screen": "3.2.0",
    "react-native-svg": "^12.1.0",
    "react-native-url-polyfill": "1.2.0",
    "react-native-vector-icons": "7.0.0",
    "react-native-webview": "10.3.3",
    "react-navigation": "4.4.3",
    "react-navigation-stack": "1.10.3",
    "react-navigation-tabs": "2.10.1",
    "react-redux": "7.2.0",
    "react-string-replace": "0.4.4",
    "redux": "4.0.5",
    "redux-devtools-extension": "^2.13.9",
    "redux-thunk": "2.3.0",
    "rn-fetch-blob": "0.12.0",
    "rn-sliding-up-panel": "2.4.3",
    "url": "0.11.0",
    "use-count-up": "2.3.0"
  },
  "lint-staged": {
    "*.{js,css,md}": "prettier --write",
    "*.{js,jsx}": "eslint --cache --fix"
  }
}

Could you give some help please? Thanks!

[ASK] Is there any way to clear previous selected images?

Hi,
Thanks for sharing the amazing package again :D
As the title above is there any way to clear previous selected images?
It always shows the same selected images when I reopen the image library.
Thank you much <3

**Update:
Solved it by adding selectedAssets = []. So sorry for bothering :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.