-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Open
Labels
needs reviewIssue is ready to be reviewed by a maintainerIssue is ready to be reviewed by a maintainer
Description
Minimal reproducible example
https://github.com/ANDREYDEN/file-downloader
Steps to reproduce
Setup: dev build, npm, testing on Android.
- Run the project with
npm run android - Click the "Download file" button
- Pick any valid folder (I created a folder
foounderDownloads)
Expected Behaviour:
A test.txt file gets created in the selected folder. (validated this works in iOS)
Actual Behaviour:
The file.create call throws with the following error: Error: Call to function 'FileSystemFile.create' has been rejected. → Caused by: A folder with the same name already exists in the file location
Environment
expo-env-info 2.0.8 environment info:
System:
OS: macOS 15.6.1
Shell: 5.9 - /opt/homebrew/bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.14.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.16.2 - /opt/homebrew/lib/ruby/gems/3.4.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.2, iOS 18.2, macOS 15.2, tvOS 18.2, visionOS 2.2, watchOS 11.2
Android SDK:
API Levels: 31, 33, 34, 35, 36
Build Tools: 33.0.1, 34.0.0, 35.0.0, 35.0.1, 36.0.0
System Images: android-35 | Google Play ARM 64 v8a, android-36 | Google Play ARM 64 v8a
IDEs:
Android Studio: 2024.3 AI-243.22562.218.2431.13114758
Xcode: 16.2/16C5032a - /usr/bin/xcodebuild
npmPackages:
expo: ~54.0.29 => 54.0.29
expo-router: ~6.0.20 => 6.0.20
react: 19.1.0 => 19.1.0
react-dom: 19.1.0 => 19.1.0
react-native: 0.81.5 => 0.81.5
react-native-web: ~0.21.0 => 0.21.2
npmGlobalPackages:
eas-cli: 16.27.0
Expo Workflow: bare
Expo Doctor Diagnostics
17/17 checks passed. No issues detected!
Metadata
Metadata
Assignees
Labels
needs reviewIssue is ready to be reviewed by a maintainerIssue is ready to be reviewed by a maintainer