prscX / react-native-file-selector

React Native: Native File Selector
Apache License 2.0
308 stars 58 forks source link

File Selector not working on ios. null is not an object(evaluating RNFileSelector.Show) #60

Open NazarB99 opened 5 years ago

NazarB99 commented 5 years ago

I did everything that was prescribed in Readme but no success. This is my PODFILE:

platform :ios, '9.0' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

target 'project' do pod 'React', :path => '../node_modules/react-native/' pod 'React-Core', :path => '../node_modules/react-native/React' pod 'React-DevSupport', :path => '../node_modules/react-native/React' pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob' pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image' pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS' pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network' pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings' pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'

pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

pod 'Firebase/Core', '~> 6.3.0' pod 'Firebase/Messaging', '~> 6.3.0' pod 'RNFirebase', :path => '../node_modules/react-native-firebase/ios' pod 'React-RCTPushNotification', :path => '../node_modules/react-native/Libraries/PushNotificationIOS' pod 'React-RCTCameraRoll', :path => '../node_modules/react-native/Libraries/CameraRoll' pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons' pod 'react-native-document-picker', :path => '../node_modules/react-native-document-picker' pod 'RNFS', :path => '../node_modules/react-native-fs'

pod 'RNAudioRecorderPlayer', :path => '../node_modules/react-native-audio-recorder-player'

pod 'React-ART', :path => '../node_modules/react-native/Libraries/ART'

pod 'react-native-background-downloader', :path => '../node_modules/react-native-background-downloader'

pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

use_native_modules!

pod 'RNFileSelector', :path => '../node_modules/react-native-file-selector/ios'

use_frameworks!

pod 'FileBrowser', :git => 'https://github.com/prscX/FileBrowser'

target 'projectTests' do inherit! :search_paths end

end

target 'project-tvOS' do

target 'project-tvOSTests' do inherit! :search_paths end

end

miketrinh1995 commented 4 years ago

Same issues

rajatpillai commented 3 years ago

Facing the same issue.

Hoomanmsh commented 3 years ago

same

jlmstudios commented 1 year ago

I'm experiencing this same issue a good 2.3 years after the original post above, but I also experience the same issue when I tried moving to react-native-document-picker, which has a lot more monthly downloads and seems like other people can get it to work just fine on iOS... Maybe this is a common user error?? I still haven't solved it though.

huangtian615 commented 1 year ago

Same issues