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

Product Add photos: Unable to view photos from device in iOS 15.2 (Xcode 13.2.1) #5838

Closed
1 of 3 tasks
selanthiraiyan opened this issue Jan 7, 2022 · 2 comments
Closed
1 of 3 tasks
Labels
feature: product details Related to adding or editing products, including Product Settings. type: bug A confirmed bug.

Comments

@selanthiraiyan
Copy link
Contributor

selanthiraiyan commented Jan 7, 2022

Problem

While running the app using Xcode 13.2.1 trying to add a photo to a product from a simulator running iOS 15.2,

  1. Tapping on “Choose from device” has no response for a few seconds.
  2. The permission alert appears after that.
  3. Tapping on “Allow Access to All Photos” dismisses the alert but I can’t see any photos

More info

I have tested in 14.1 simulator and things are working as expected there. (I can see the photos)

I have raised a PR at wordpress-mobile/MediaPicker-iOS#376 with a possible fix. More details at p91TBi-79a-p2

Expected behavior

I should be able to access photos in a simulator running iOS 15.2

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.

Mobile Environment
iOS 15.2 simulator
Xcode 13.2.1

@selanthiraiyan selanthiraiyan changed the title Product Add photos: Unable to view photos in iOS 15.2 Product Add photos: Unable to view photos from device in iOS 15.2 Jan 7, 2022
@itsmeichigo itsmeichigo added feature: product details Related to adding or editing products, including Product Settings. type: bug A confirmed bug. labels Jan 10, 2022
@selanthiraiyan selanthiraiyan changed the title Product Add photos: Unable to view photos from device in iOS 15.2 Product Add photos: Unable to view photos from device in iOS 15.2 (Xcode 13.2.1) Jan 10, 2022
@selanthiraiyan
Copy link
Contributor Author

selanthiraiyan commented Jan 12, 2022

Update

The PR with the fix has been accepted and WPMediaPicker 1.8.1 was released with a fix for this issue.

Our repo's trunk is already using the new version. We can test this issue in Xcode 13.2.1 or higher (when we eventually start using that version) and close this issue.

@pmusolino
Copy link
Member

Tested trunk with WPMediaPicker 1.8.1 on Xcode 13.2.1 and the issues was fixed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: product details Related to adding or editing products, including Product Settings. type: bug A confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants