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

Blank screen when selecting media when photo permission is missing #19576

Closed
guarani opened this issue Nov 10, 2022 · 2 comments
Closed

Blank screen when selecting media when photo permission is missing #19576

guarani opened this issue Nov 10, 2022 · 2 comments

Comments

@guarani
Copy link
Contributor

guarani commented Nov 10, 2022

Expected behavior

When adding a photo from the device, the app should show an appropriate message if photo permission is lacking.

Actual behavior

A message is shown when adding images via Media (My Site tab → Menu → Media), but not when adding media via the block editor.

Steps to reproduce the behavior

  1. Ensure the app does not have access to photos:
    a. Go My Site tab → Menu → Media
    b. Go to add media, but deny the app permission
  2. Now open a new post
  3. Add the image block
  4. Tap "Choose from device"
  5. Notice the blank screen
  6. Optionally, notice that an appropriate message is shown on the media screen
    a. Open My Site tab → Menu → Media
    b. Add media
    c. Notice the app prompts you to enable photo permission in settings
Tested on iPhone 11, iOS 16.0, WPiOS 21.1
@guarani
Copy link
Contributor Author

guarani commented Nov 10, 2022

First reported by @sourourn.

@kean
Copy link
Contributor

kean commented Aug 25, 2023

Fixed in the scope of #21190

@kean kean closed this as completed Aug 25, 2023
@kean kean added this to the 23.2 milestone Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants