Coder Social home page Coder Social logo

Comments (48)

Cloud3886 avatar Cloud3886 commented on June 12, 2024 2

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.

zambetpentru avatar zambetpentru commented on June 12, 2024 2

Bad bot

from flutter_file_picker.

fesaworld avatar fesaworld commented on June 12, 2024 1

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"

image

from flutter_file_picker.

VladStarikovEk avatar VladStarikovEk commented on June 12, 2024 1

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.

zambetpentru avatar zambetpentru commented on June 12, 2024 1

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.

mauriciotogneri avatar mauriciotogneri commented on June 12, 2024 1

up

from flutter_file_picker.

zambetpentru avatar zambetpentru commented on June 12, 2024 1

Bounce, bad bot

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024 1

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

TheManuz avatar TheManuz commented on June 12, 2024 1

Bad bot

from flutter_file_picker.

zambetpentru avatar zambetpentru commented on June 12, 2024 1

Bad bot

from flutter_file_picker.

zambetpentru avatar zambetpentru commented on June 12, 2024 1

Bad bot

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

DominicOrga avatar DominicOrga commented on June 12, 2024

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.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 12, 2024

@VladStarikovEk Did you manage to solve this ? If so, how ?

from flutter_file_picker.

VladStarikovEk avatar VladStarikovEk commented on June 12, 2024

@TheCarpetMerchant Sadly - no. We still experiencing it.

from flutter_file_picker.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 12, 2024

@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 avatar VladStarikovEk commented on June 12, 2024

@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.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 12, 2024

Up

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

kiokumicu avatar kiokumicu commented on June 12, 2024

Up

from flutter_file_picker.

arthurgiani avatar arthurgiani commented on June 12, 2024

up

from flutter_file_picker.

maharramg avatar maharramg commented on June 12, 2024

Up

from flutter_file_picker.

ambr89 avatar ambr89 commented on June 12, 2024

up

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

zambetpentru avatar zambetpentru commented on June 12, 2024

up

from flutter_file_picker.

devkeycloud avatar devkeycloud commented on June 12, 2024

Pixel 7а, android 14 - same problem

from flutter_file_picker.

bypass112 avatar bypass112 commented on June 12, 2024

Galaxy S22 Ultra, Android 14 - same problem.
Can also add the FileType.audio is affected.

from flutter_file_picker.

DarenF-20C avatar DarenF-20C commented on June 12, 2024

up

from flutter_file_picker.

erfan-git avatar erfan-git commented on June 12, 2024

up

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 14 days with no activity.

from flutter_file_picker.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 12, 2024

Up

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

zambetpentru avatar zambetpentru commented on June 12, 2024

Bounce

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

miguelpruivo avatar miguelpruivo commented on June 12, 2024

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.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

zambetpentru avatar zambetpentru commented on June 12, 2024

Bad bot

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

github-actions avatar github-actions commented on June 12, 2024

This issue is stale because it has been open for 7 days with no activity.

from flutter_file_picker.

TheManuz avatar TheManuz commented on June 12, 2024

Yeah, we know it. Bad bot

from flutter_file_picker.

Shreyas-Mith avatar Shreyas-Mith commented on June 12, 2024

any updates?

from flutter_file_picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.