react-native-multiple-image-picker: 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

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (2 by maintainers)

Most upvoted comments

Same issue here!

@baronha I need your help! Am I the only one who has that issue?

@dkahdwk I cannot reproduce this on my simulator. Try upgrading to the latest version 0.4.8. If this problem persists. Please leave a message to let me know.

I found out something new! This problem occurs in MacBook m1. MacBook Intel does not cause problems in the same environment. I hope it helps and I hope this problem will be resolved soon.

@dkahdwk Wow. I can’t reproduce this error at all on Macbook M1. Because I don’t have 🥺. Probably with the help of the other members.

@ErangaD yeah now i think its time to update 14.0 to 14.3 😃, will try and let you know

I got same error, it was working before suddenly now it is stuck at “Please wait…” on macbook pro M1 and iphone 13 simulator with ios 13.0… working fine on real iphone device.

Same issue on ios simulator (iphone13) with mac M1. But works on a real device.

아이폰에서 xcode로 릴리즈 빌드해서 봐도 안되나요?? @dkahdwk

저 당시에는 안됐었어요! 여러 이슈가 있어서 다른거로 교체하시는걸 추천드려요