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

Can't select photo when making limited photo access non-empty (after an initially empty selection) #308

Open
Johnson145 opened this issue Apr 12, 2021 · 0 comments

Comments

@Johnson145
Copy link

When performing the following steps, the photo picker does not show any images, although it should:

  • iOS 14 photo permission popup appears
  • the user chooses to grant limited access to selected images only
  • the user closes the system dialog without actually selecting any images
  • opening the TLPhotoPicker, correctly results in an empty screen (showing the config.emptyMessage)
  • re-opening the iOS sytem dialog to let the user change his/her image selection (no matter whether triggered automatically by iOS (e.g. after an app restart) or manually)
  • the user finally chooses at least one image and confirms the system dialog
  • the photo picker does not refresh and still shows the config.emptyMessage, although it should now provide content

Looks like the PHPhotoLibraryChangeObserver isn't handled in this particular situation (it does work for other selection changes though).

Closing the image picker and re-opening it does yield in a correct UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant