Skip to content

[image_picker] [iOS] ProRAW photos do not load from gallery #92100

@dalobstah

Description

@dalobstah

Steps to Reproduce

  1. Use image_picker 0.8.4+2 plugin
  2. Run await ImagePicker().pickImage(source: ImageSource.gallery);
  3. Select ProRAW photo

Expected results:
Image Picker loads ProRAW photos, or at least throw an exception when one is selected.

Actual results:
It failed to load the file and the future was never completed.

Tested on an iPhone 13 Pro iOS 15.0.1

Logs Error when opening gallery again after trying to select a ProRAW image
[Error] PlatformException(multiple_request, Cancelled by a second request, null, null)
[Error] #0      StandardMethodCodec.decodeEnvelope
package:flutter/…/services/message_codecs.dart:607
#1      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:156
          <asynchronous suspension>
#2      MethodChannelImagePicker.getImage
package:image_picker_platform_interface/…/method_channel/method_channel_image_picker.dart:188
          <asynchronous suspension>
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.5.2 20G95 darwin-x64, locale en-US)
    • Flutter version 2.5.3 at /Users/49069/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (4 days ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/49069/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.10.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.61.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: device-specificOnly manifests on certain devicesp: 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