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]: Image gallery opens twice if we choose select photos permission. #90373
Comments
@Trteich
|
@darshankawar Plugins support the latest version of |
Thanks for the info @stuartmorgan. select_photos_90373.movWhereas, giving all_perm_90373.movUsed plugin's official example to verify. stable, master flutter doctor -v
Labeling it as regression, as it was fixed but seem to have surfaced again. |
/cc: @mvanbeusekom |
the first sheet that comes is for selecting the photos that can be accessed by the app and the second sheet that comes is for picking the image @darshankawar. |
@balvinderz Thanks. So is it an expected behavior considering this comment as well ? |
I think the expected behaviour should be - the second sheet should only show only those photos that were selected in the first sheet. |
Yes . I think the expected behaviour should be only those limited photos should be shown. |
Hello! I have investigated the issue and it seems like it's very hard to achieve. If anyone could help out with an issue I would appreciate it a lot :) |
This comment has been minimized.
This comment has been minimized.
Same issue on iOS (14.81) and Plugin version 0.8.4+4. |
I confirm this issue is still present. I'm able to pick an image out of the set of selected images. |
This fixed the issue for me, thanks. |
Any update on this? |
just to link those two: #65995 |
I am able to reproduce this issue using the latest version of the flutter doctor -v[✓] Flutter (Channel master, 3.11.0-2.0.pre.55, on macOS 13.3 22E252 darwin-arm64, locale en-NG)
• Flutter version 3.11.0-2.0.pre.55 on channel master at /Users/dammya/fvm/versions/master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 835b892d7f (10 days ago), 2023-05-07 01:30:22 +0530
• Engine revision 23f730efbf
• Dart version 3.1.0 (build 3.1.0-83.0.dev)
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/dammya/Library/Android/sdk
• Platform android-33, build-tools 32.1.0-rc1
• ANDROID_HOME = /Users/dammya/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• 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 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.78.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] VS Code (version 1.78.0)
• VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (4 available)
• Damilola’s iPhone (mobile) • 71c843fa5f3dec767999f36224653c0faa78660e • ios • iOS 16.4 20E247
• iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.3 22E252 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.92
[✓] Network resources
• All expected network resources are available.
• No issues found!
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.3 22E252 darwin-arm64, locale
en-NG)
• Flutter version 3.10.0 on channel stable at /Users/dammya/sdks/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (7 days ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
• Android SDK at /Users/dammya/Library/Android/sdk
• Platform android-33, build-tools 32.1.0-rc1
• ANDROID_HOME = /Users/dammya/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• 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
11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.78.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] VS Code (version 1.78.0)
• VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (4 available)
• Damilola’s iPhone (mobile) • 71c843fa5f3dec767999f36224653c0faa78660e •
ios • iOS 16.4 20E247
• iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 •
ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 13.3 22E252 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 113.0.5672.92
[✓] Network resources
• All expected network resources are available.
• No issues found!
|
As I understand it, we don't need to ask permission to access images, since all images are visible in the picker, but only the selected one is shared with the app. Then why are we asking the user to select images, isn't the solution to this problem, to show the picker directly, without the "Select Photos..." prompt? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This is surprising actually. The amount of time this issue is opened for. The |
Is there any update on this, or is there any solution to remove the limited access option from that prompt? |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Is there any update on this issue? Does anyone resolve this issue? Appstore has rejected my app due to this one. |
Hi. Issue #78108 still present in Image Picker
Flutter version: 2.5.1
image_picker version: 0.8.4+2
IOS version: 14.7.1
The text was updated successfully, but these errors were encountered: