react-native-multiple-image-picker
react-native-multiple-image-picker copied to clipboard
After selecting an image in the simulator, it doesn't close.
Steps to Reproduce
- Operate MultipleImagePicker.openPicker.
- The image selection modal opens.
- After selection, it cannot proceed to the next without any errors.
- But, it works normally on real devices.
- It doesn't go to the next step.
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
@baronha I need your help! Am I the only one who has that issue?
@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.
@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 upgraded the version, but there is still an issue. (xcode 13.0, iPhone12 - IOS15.0)
@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.
@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.
Same issue here!
same issue, any news here?
Even if it's an m1, build in xcode and use a real device it works fine
I'm also facing same issue, any solution for this ?
I'm also facing same issue, any solution for this ?
There is no solution. Another library could be a way
아이폰에서 xcode로 릴리즈 빌드해서 봐도 안되나요?? @dkahdwk
아이폰에서 xcode로 릴리즈 빌드해서 봐도 안되나요?? @dkahdwk
저 당시에는 안됐었어요! 여러 이슈가 있어서 다른거로 교체하시는걸 추천드려요
Well, they say it works on actual device... will just trust that. I'll have to deploy on testflight to see. Thanks!
I created fresh project then try It's working, after I install react-native-maps and update podfile then again loading issue.
require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.0' install! 'cocoapods', :deterministic_uuids => false
target 'testApp' do config = use_native_modules!
React Native Maps dependencies
rn_maps_path = '../node_modules/react-native-maps' pod 'react-native-google-maps', :path => rn_maps_path
Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change false
to true
and then install pods
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
target 'testAppTests' do inherit! :complete # Pods for testing end
Enables Flipper.
Note that if you have use_frameworks! enabled, Flipper will not work and
you should disable the next line.
use_flipper!()
post_install do |installer| react_native_post_install(installer) installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" __apply_Xcode_12_5_M1_post_install_workaround(installer) end end end
Same issue on ios simulator (iphone13) with mac M1. But works on a real device.
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.
maybe the issue is getting because of this code
installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64" end end
but when i remove it i got another errors :(
This issue went away after updating xcode to latest version (14.3) for me.
@ErangaD yeah now i think its time to update 14.0 to 14.3 :), will try and let you know