Comments (15)
i don't remember closing this?
I think its just a Github bug, I believe updating the main branch on a fork (maybe only with the github ui?) will sometimes re-close an issue when that update pulls in a commit that contains the description "fixes #issue number".
So if a commit gets merged to main saying "fixed..." but then the issue gets re-opened, and then you update your main branch (and pull in the commit) it will sometimes re-close.
from flutter.
Hi @Biowulf21, is this the only device you're seeing it on or are other devices affected? I tested this on my pixel 7 running android 14 and it doesn't allow me to submit 0 items.
Can you also try uprading to the latest version of image_picker
to see if you still experience this issue?
Thank you
from flutter.
Hi @Biowulf21, is this the only device you're seeing it on or are other devices affected? I tested this on my pixel 7 running android 14 and it doesn't allow me to submit 0 items.
Can you also try uprading to the latest version of
image_picker
to see if you still experience this issue?Thank you
hi @danagbemava-nc , I tested this on my Samsung S21+ and it crashes the app as well. Huawei P30 Pro also crashes per our QA team.
I'll look into the latest version next week. Thank you!
EDIT: Corrected the device models
from flutter.
Please keep us updated
@Biowulf21, just to confirm, are you calling pickImage
or pickMultiImage
? On my pixel 7, with pickImage
, there isn't the option to select multiple images, but pickMultiImage
does allow me to select multiple images.
from flutter.
Hi @danagbemava-nc I'm using pickMultiImage. So sorry for the delay, I'm out of the house right now, but I'll be sure to update this thread later tonight. Thank you!
Edit: I tested the same flow using the latest image_pickers version (1.1.0) and the issue is still there.
from flutter.
Thanks for the update. Just to confirm, were the samsung s21+ and the huawei p40 both running android 13? Have you tested this on any other OS version?
from flutter.
Thanks for the update. Just to confirm, were the samsung s21+ and the huawei p40 both running android 13? Have you tested this on any other OS version?
Hello, my team and I tested this on three devices: Huawei P30 Pro (Android 12), Infinix SMART 8 (Android 13), and Samsung 21+ (Android 14).
I also updated the title of the issue for your reference @danagbemava-nc. Sorry for the confusion.
from flutter.
Thanks for the update.
While I cannot reproduce this on my device (the picker won't allow sending back 0 items), it seems like we are passing a null URI to https://github.com/flutter/packages/blob/6e6082660b73144e5fedf28545602c1ef6588f8e/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/FileUtils.java#L55
I think it would be best to catch the null_pointer exception or check if the uri is null before processing.
Labeling for further insight.
from flutter.
I'm facing the same problem in "release".
Using Firebase's "Crashlytics" it returns the error below:
"PlatformException(already_active, Image picker is already active, null, null)"
from flutter.
Facing same problem
"PlatformException(already_active, Image picker is already active, null, null)"
do we have any solutions?
this is delaying the production release.
from flutter.
This looks like the same issue that flutter/packages#4836 fixed for single-item selection, where some pickers are, instead of returning no clip data, returning clip data with a null URI. It's not fixed for the multi-item codepath yet (see flutter/packages#4836 (comment) for a suggestion on this).
from flutter.
Re-opening since the PR didn't fix all codepaths. And in particular, the original report's stack is in handleChooseMultiImageResult
, which is the one that's not fixed.
from flutter.
@stuartmorgan @gmackall I created a new PR complementing the one I had previously sent.
from flutter.
i don't remember closing this?
from flutter.
This should be fixed by flutter/packages#5009
from flutter.
Related Issues (20)
- (Guides)~!!@!!^~Psn Gift Card Codes 2024 ✼ Free Psn Code Generator $100 PlayStation Store Gift Card [2024]
- Free!! PlayStation Plus Gift Cards Generator 2024-Psn Gift Card Codes 2024
- LaTeSt!!**Psn Gift Card Codes 2024 ✼ Free Psn Code Generator $100 PlayStation Store Gift Card [2024]
- [[GeT!]] FREE PSN GIFT CARD CODES 2024 ✔ Free PSN Codes 2024⚡ PSN Code Giveaway 2024
- FREE PSN GIFT CARD CODES 2024 ✔ Free PSN Codes 2024 😳 PSN Code Giveaway
- FREE Xbox Gift Card Codes [Updated] 50+ New Redeem Code 2024✔How to get Xbox Gift Cards FOR FREE
- ~<ToDaY'S>~Free Xbox Gift Card Codes 2024 🎮 Up to $100 in Free Xbox Codes in UNDER 5 minutes!
- ✔[[FReE!!]]✔Xbox Gift Card Codes 2024 🎮 Up to $100 in Free Xbox Codes in UNDER 5 minutes!
- LaTeSt!!**Free Xbox Gift Card Codes 2024 🎮 Up to $100 in Free Xbox Codes in UNDER 5 minutes!
- Free Xbox Gift Cards Xbox⚡ Free Gift Card Codes 2024 ⚡Free Xbox Gift Card Codes
- [[GeT!]] Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- (Guides)~!!@!!^~Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- ✔[[FReE!!]]✔Bingo Blitz Free Credits 2024 - Freebies Promo Codes Rewards
- Bingo Blitz Free Credits - Get Bingo- Unlimited Free Coins & Power Ups Hack 2024
- Bingo Blitz Free Credits - Get Bingo Blitz Promo Codes 2024 NOW!
- Gradient subclasses' static lerp methods drop the GradientTransform of both `a` and `b`
- Compatibility Issue with Flutter Apps on LineageOS 21 HOT 1
- (free-CoDes)*Fortnite free v bucks generator{May_June}~free vbucks codes full list 2024-2025 v bucks codes generator Unlimited free vbucks codes full list
- Fortnite V Bucks Codes June-April 2024-2025 Unused Code List Unlimited free vbucks codes[58V]
- Flutter Mac App Crashes on Intel CPU Macs When Using Impeller
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.