Skip to content

[image_picker] GIF doesn't work on iOS 14 when user chooses "Select Photos" access #77281

@m-j-g

Description

@m-j-g

Since iOS 14 image_picker hasn't worked for Gifs chosen on iOS when the user selects the new photo permission "Selected Photos". You can change the access to "All Photos" and Gif's will be animated, change it back to "Selected Photos" and select the same Gif and it won't be animated.

 final _picker = ImagePicker();
    try {
      final pickedFile = await _picker.getImage(
        source: ImageSource.gallery,
        maxWidth: 400,
        maxHeight: 400,
      );
 final result = await pickedFile.readAsBytes();

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.0Found to occur in 2.0has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions