-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[image_picker][IOS] throws error while canceling from pickMultipleMedia #133111
Comments
Reproducible using the plugin example code. Cancelling the operation with the In my testing, this did not reproduce on android. flutter doctor -v
|
#4761) Makes the Pigeon interface for the iOS implementation consistent in returning non-nullable lists, in keeping with our strong preference in this repo for collections being non-nullable whenever reasonable (to avoid the issue of having two ways of expressing the same thing), and updates the native side never to return a `nil` list. Fixes flutter/flutter#133111
so when the next release will be for image_picker ? so i can implement into my code |
The fix was to |
…S (#4761) Makes the Pigeon interface for the iOS implementation consistent in returning non-nullable lists, in keeping with our strong preference in this repo for collections being non-nullable whenever reasonable (to avoid the issue of having two ways of expressing the same thing), and updates the native side never to return a `nil` list. Fixes flutter/flutter#133111
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Steps to reproduce
List<XFile>? pickedFileList = await ImagePicker().pickMultipleMedia( requestFullMetadata: true, imageQuality: 100, maxHeight: 100, maxWidth: 100, );
].Expected results
throw an error
PlatformException(null-error, Host platform returned null value for non-null return value., null, null)
Actual results
it should return null or list length of 0 instead of throwing error
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: