Skip to content

[image_picker] iOS add error handling when picking image. #95268

@cyanglaz

Description

@cyanglaz

In Image picker, the error from item provider was not surfaced. We should improve the code by surfacing the error to the dart public API so users can have more details about the errors when the picker failed.

This might also require public API updates where we can add a new error field to the PickedFile

See also: https://github.com/flutter/plugins/pull/4448/files#r755336904

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions