Skip to content

[image_picker][iOS]: Sometimes plugin doesn't respond when picking an image from gallery. #98569

@mink-lparrouy

Description

@mink-lparrouy

Hi there,

I use the package image_picker (0.8.4 + 8) in my application in order to pick image from gallery. With a real iOS device (iOS 14) sometimes it doesn't work especially with image download from unsplash. No error log are displayed.

final granted = await \_handlePermission(context, [Permission.photos, if (Platform.isIOS) Permission.storage,]); if (granted) { await imagePicker.pickImage(source: ImageSource.gallery) .catchError((Object o) { print("Gallery error -- $o"); }) .then((file) => Navigator.of(context).pop(file)); }

I followed every steps of the integration of the package.
Do you know what happened ?

Thanks

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions