Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NazarB99 opened this issue Sep 29, 2019 · 5 comments

Comments

@NazarB99
Copy link

NazarB99 commented Sep 29, 2019

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

@trinhvanminh2009
Copy link

Same issues

@rajatpillai
Copy link

Facing the same issue.

@Hoomanmsh
Copy link

same

@jlmstudios
Copy link

jlmstudios commented Jan 9, 2023

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
Copy link

Same issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants