Comments (48)
var localFile = await FilePicker.platform.pickFiles( type: FileType.custom, allowMultiple: false, allowedExtensions: ['pdf'], withData: true, );
poco f3 gt Android 13 - same problem
previously used to work but after changing to android:launchMode="singleInstance"
it gave this issue.
This fork works and solves this issue.
file_picker: git: url: https://github.com/melWiss/flutter_file_picker.git
from flutter_file_picker.
Bad bot
from flutter_file_picker.
i got the same problem, and i found a way to solve it..
you can try changing android:launchMode="singleInstance" in /main/AndroidManifest.xml to android:launchMode="singleTop"
from flutter_file_picker.
I'm glad to report that the fix from this PR works.
For now I'm using this way to add file_picker
dependency:
file_picker:
git:
url: https://github.com/melWiss/flutter_file_picker.git
from flutter_file_picker.
I'm glad to report that the fix from this PR works. For now I'm using this way to add
file_picker
dependency:file_picker: git: url: https://github.com/melWiss/flutter_file_picker.git
I confirm it's also working on my Samsung Galaxy when upgraded to Android 14
from flutter_file_picker.
up
from flutter_file_picker.
Bounce, bad bot
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
Bad bot
from flutter_file_picker.
Bad bot
from flutter_file_picker.
Bad bot
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 experiencing this issue, but in my case it occurs on my Pixel 4A Android 13.
What's weird is that the file picker does not work on my main (large) project, but works fine on a newly created test project.
How are you picking?
FilePicker.platform.pickFiles(
allowMultiple: true,
allowedExtensions: ['pdf'],
type: FileType.custom,
);
Output (Main Project):
D/FilePickerUtils(26411): Allowed file extensions mimes: [application/pdf]
D/FilePickerDelegate(26411): Selected type */*
I/FilePickerDelegate(26411): User cancelled the picker request
Output (Test Project):
D/FilePickerUtils(28311): Allowed file extensions mimes: [application/pdf]
D/FilePickerDelegate(28311): Selected type */*
I/FilePickerUtils(28311): Caching from URI: content://com.android.providers.media.documents/document/document%3A83
D/FilePickerUtils(28311): File loaded and cached at:/data/user/0/com.example.file_picker_test/cache/file_picker/dummy.pdf
D/FilePickerDelegate(28311): File path:[com.mr.flutter.plugin.filepicker.FileInfo@144d1d0]
from flutter_file_picker.
This issue is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
@VladStarikovEk Did you manage to solve this ? If so, how ?
from flutter_file_picker.
@TheCarpetMerchant Sadly - no. We still experiencing it.
from flutter_file_picker.
@VladStarikovEk there's a pull request opened for the fix. Just got it into prod and users confirm it works.
The pull request is 35 commits behind, so I made my own fork for it.
from flutter_file_picker.
@VladStarikovEk there's a pull request opened for the fix. Just got it into prod and users confirm it works. The pull request is 35 commits behind, so I made my own fork for it.
Will try it. Thanks!
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 is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
This issue is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
Up
from flutter_file_picker.
This issue is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
Up
from flutter_file_picker.
up
from flutter_file_picker.
Up
from flutter_file_picker.
up
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 is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
up
from flutter_file_picker.
Pixel 7а, android 14 - same problem
from flutter_file_picker.
Galaxy S22 Ultra, Android 14 - same problem.
Can also add the FileType.audio is affected.
from flutter_file_picker.
up
from flutter_file_picker.
up
from flutter_file_picker.
This issue is stale because it has been open for 14 days with no activity.
from flutter_file_picker.
Up
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
Bounce
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
What is the solution purposed for this? Not sure what about the consequences of limiting it for single. I recall that it could introduce some issues but don't remember which.
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
Bad bot
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
This issue is stale because it has been open for 7 days with no activity.
from flutter_file_picker.
Yeah, we know it. Bad bot
from flutter_file_picker.
any updates?
from flutter_file_picker.
Related Issues (20)
- Support for initialDirectory on Android/mobile HOT 2
- Prefilter items displayed via arbitrary filename/foldername filter HOT 2
- Return file metedata in a timely manner HOT 2
- [Android] app crashes when using `getDirectoryPath()` or `saveFile()` HOT 4
- Add webp to FileType.image
- Reimplement macos file picker using native APIs in the app rather than calling out to osascript HOT 3
- Reimplement linux file picker using native APIs in the app rather than calling out to zenity
- Changes 'dart:html' to 'universal:html' HOT 1
- [iOS] Hide DRM protected files for Apple Music picker HOT 2
- Feature request: add an option parameter to return the original path and avoid caching the file (for Android/iOS). HOT 2
- The application closes when selecting an image HOT 1
- Property with 'retain (or strong)' attribute must be of object type HOT 5
- Update regarding DKImagePickerController/PhotoGallery of Privacy Manifest? HOT 5
- type 'NativeByteBuffer' is not a subtype of type 'List<int>' HOT 5
- After drag and drop image when trying select image to upload there is no way handle selected image HOT 2
- The path returned by FilePicker.platform.saveFile does not exist on ios HOT 3
- Not work `clearTemporaryFiles()` on Android HOT 4
- getDirectoryPath() not working on Android 8/9 HOT 1
- The `initialDirectory` parameter of `getDirectoryPath` does not support POSIX-style paths HOT 2
- Bug: file explorer dialog displayed at the top of the screen on iOS mobile (web) HOT 2
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.