Skip to content
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

File Picker Ignores iOS Photo Access Limitations #1439

Open
lvyandev opened this issue Jan 26, 2024 · 9 comments
Open

File Picker Ignores iOS Photo Access Limitations #1439

lvyandev opened this issue Jan 26, 2024 · 9 comments
Labels
feature-candidate This issue might result in a feature to be implemented

Comments

@lvyandev
Copy link

I've encountered an issue with the file_picker package on iOS, where it does not adhere to the photo access limitations set by the user in the iOS 14+ privacy settings.

Environment

  • Flutter version:
[✓] Flutter (Channel stable, 3.16.8, on macOS 14.2.1 23C71 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2023.2.2)
[✓] VS Code (version 1.85.2)
  • file_picker version: ^6.1.1
  • Testing Device/Simulator: iOS (version: 17.2)

Expected Behavior
When a user limits the number of photos an app can access (a feature introduced in iOS 14), the file picker should only display and allow selection from those photos.

Actual Behavior
Despite the user setting limitations on the number of accessible photos through iOS privacy settings, the file picker displays and allows selection from the entire photo library.

I'm not sure if this behavior is a bug or a misunderstanding on my part of the file_picker capabilities. Any clarification or guidance would be greatly appreciated.

Steps to Reproduce

  1. On an iOS 14+ device, limit the photo access for the app through the privacy settings.
  2. Use the file_picker to try and select a photo.
  3. Observe that the file picker does not respect the set limitations and displays the entire gallery.

Screen Record

Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-01-26.mp4
Copy link

github-actions bot commented Feb 3, 2024

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale label Feb 3, 2024
@DerJojo11
Copy link

I have the same problem.

@github-actions github-actions bot removed the stale label Feb 16, 2024
@pawelzagaladeviniti
Copy link

Hi, any updates on this issue?

Copy link

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale label Feb 24, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@yuliiapochynok0
Copy link

Hi, i have the same problem in the 8.0.0+1 version, is there any updates on it?

@navaronbracke navaronbracke reopened this Apr 18, 2024
@navaronbracke navaronbracke added feature-candidate This issue might result in a feature to be implemented and removed stale labels Apr 18, 2024
@anuragvarshney
Copy link

Hi, We are facing the same problem. Any update on this @navaronbracke

@navaronbracke
Copy link
Collaborator

I have not yet had time to look into this.

@lvyandev
Copy link
Author

I believe this behavior also happens after Android 11 or so? I am not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-candidate This issue might result in a feature to be implemented
Projects
None yet
Development

No branches or pull requests

6 participants