Skip to content

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

Description

@Johnson145

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions