Comments (7)
Anybody else facing this issue?
from flutter_file_picker.
Yes, of course! I have same problem with file picking from android file manager. I install pub file_picker: ^6.1.1
and try
FilePicker.platform.pickFiles(allowMultiple: true).then((value) =>
value != null
? _onFilesRecieve(value.files.map((e) => File(e.path!)).toList())
: null);
and on Android 14 (and some Android 13 shells), the result of the value always is "null"
I have set the values for compileSdkVersion 34
and targetSdkVersion 34
and it didn't have any effect.
Here is my flutter doctor -v
results:
[√] Flutter (Channel stable, 3.16.2, on Microsoft Windows [Version 10.0.19043.928], locale ru-RU)
• Flutter version 3.16.2 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9e1c857886 (4 days ago), 2023-11-30 11:51:18 -0600
• Engine revision cf7a9d0800
• Dart version 3.2.2
• DevTools version 2.28.3
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc3)
• Android SDK at C:\Users\USER\AppData\Local\Android\sdk
• Platform android-34, build-tools 34.0.0-rc3
• Java binary at: D:\Programs\Android\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.5.2)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.5.33502.453
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2022.2)
• Android Studio at D:\Programs\Android
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
[√] VS Code (version 1.76.2)
• VS Code at C:\Users\USER\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.78.0
[√] Connected device (4 available)
• SM S918B (mobile) • MY_ID • android-arm64 • Android 14 (API 34)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19043.928]
• Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.161
• Edge (web) • edge • web-javascript • Microsoft Edge 119.0.2151.93
[√] Network resources
• All expected network resources are available.
• No issues found!
No one file type isn`t returned based on the selection results.
Similarly, this bug reproduced with pub version file_picker: ^5.3.0
with Flutter 3.7.7
MOST UPDATE: this guy found the way to fix it #1404 (comment)
from flutter_file_picker.
This issue is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
I am also facing the same issue
from flutter_file_picker.
Change the activity launchMode to singelTask
from flutter_file_picker.
This issue is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
This issue was closed because it has been inactive for 14 days since being marked as stale.
from flutter_file_picker.
Related Issues (20)
- BUG: Picking a folder in iOS causes the original folder to be deleted. HOT 7
- Pick a video but it’s treating them like image HOT 6
- in isolate read a large(17mb) txt file with Error: FileSystemException: File closed HOT 3
- [Linux] FilePicker.platform.pickFiles() always return null HOT 5
- [Windows] The picker is pausing the ripple effect on buttons HOT 2
- Don't automatically close the file window after selecting a file. HOT 2
- iOS privacy manifest required HOT 7
- Is it possible to add support for preventing too many files to be picked? HOT 4
- path null HOT 16
- Permission Error in Android Version 13. HOT 15
- Unable to pick some files(specifically pdf) in android 13 HOT 3
- dyld: Library not loaded: @rpath/DKImagePickerController.framework/DKImagePickerController HOT 3
- Persistent file access option HOT 4
- File_picker doesn't behave as expected on Android 14 HOT 4
- Apple's update to their API policy - Required Reason HOT 2
- FileType.custom not opening gallery in android HOT 2
- Inquiry about target platform requirements for windows HOT 2
- Select file UI sometimes broke in iOS HOT 2
- Drop support for DKImagePickerController
- Remove references to the deprecated Go implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_file_picker.