question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I can't select any file on ios device

See original GitHub issue

I can’t select any file on ios device. Not so on Android device. How can I solve this problem? As you can see in the screenshot it doesn’t let me select any file. Ekran Resmi 2021-11-01 23 01 12

my code:


const  openDocumentPicker = async ()=>{
        // Pick a single file
        try {
            const res = await DocumentPicker.pick({
                type: [DocumentPicker.types.allFiles],
            });
            console.log('output' + JSON.stringify(res));
        } catch (err) {
            if (DocumentPicker.isCancel(err)) {
                // User cancelled the picker, exit any dialogs or menus and move on
            } else {
                throw err
            }
        }
    }

npx react-native info System: OS: macOS 11.6 CPU: (8) arm64 Apple M1 Memory: 117.80 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.0.1 - /opt/homebrew/bin/node Yarn: Not Found npm: 8.1.0 - /opt/homebrew/bin/npm Watchman: 2021.10.18.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.2 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0 Android SDK: API Levels: 29, 30 Build Tools: 28.0.3, 29.0.2, 30.0.2 System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: Not Found Xcode: 13.0/13A233 - /usr/bin/xcodebuild Languages: Java: 1.8.0_292 - /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.63.4 => 0.63.4 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:11
  • Comments:26 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
arunim2405commented, Nov 8, 2021

Facing the same issue using simulator above ios 14 and using m1 mac, working fine on simulator with ios below 13.7 @YunusEmreNalbant

4reactions
garrettkscommented, Dec 15, 2021

Hi is there any solution for iOS 15? I am using latest version but facing same issue in iOS simulator Screenshot 2021-12-15 at 10 59 27 AM .

I am not sure if this helps or not, but this is only an issue in the simulator. When I install my app on a phone running iOS 15, it works perfectly fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I cannot select my file on Files (Finder) iPhone
Try clicking on Done in the top right corner of your screen and then opening the file to see if it will allow...
Read more >
How to Use the Files App on Your iPhone or iPad | PCMag
Here's how to access, view, and manage files in iOS and iPadOS. ... Tap the Select link, then select any file you wish...
Read more >
Unable to select folders and files on OneDrive IOS App
Hi I am trying to select all files or folders on the one drive iphone ios app however, it only lets me individually...
Read more >
How To Use The iPhone Files App - YouTube
https://macmost.com/e-2651 The Files app on your iPhone or iPad is like the Finder on a Mac. You can use it to find, open,...
Read more >
How to add Dropbox to the Files app on your iPhone or iPad
You can use the Files app to browse files stored on your device and in your Dropbox account all in one place. To...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found