EinfachHans / cordova-plugin-advanced-imagepicker

Cordova Plugin for an advanced (multiple) ImagePicker
28 stars 48 forks source link

(bug): ios 15.3 Only See header/main Photo #39

Closed itbeyond closed 2 years ago

itbeyond commented 2 years ago

Bug Report

Current Behavior:

When I open the Gallery selection on ios 15.3 on an iPad after selecting allow all files - I can only see the first one in the larger window and there are no thumbnail images showing at all. I did a pod update to YPImagePicker 5.2.1 however this also did not fix it and made a styling error (but this is not the bug) so went back to 4.5.0. See screenshots below.

Expected Behavior:

If I run this on ios 15.2 it works correctly and shows the thumbnails of the rest of the library but on 15.3 I only get as per the screenshots.

Steps to reproduce:

Current config as called { showCameraTile: false, mediaType: "IMAGE", max: 5, asJpeg: true }

Screenshots:

img1 Shows the number of items in each section of the iPad img2 Shows all I can see when in a section - NO thumbnails.

Environment information:

Additional information

I just loaded up the picker in portrait mode and low and behold the thumbnails appear - so it would seem that this picker does not work in landscape mode or is there a simple solution?

Here is a screenshot from using portrait mode on the same iPad, same versions of everything! img3

EinfachHans commented 2 years ago

I use this Library underneath: https://github.com/Yummypets/YPImagePicker

please try create an issue there

itbeyond commented 2 years ago

Yeah just found it - https://github.com/Yummypets/YPImagePicker/issues/550

I will have to drop or update this plugin (shame seems to be the best around at the moment) as I must support Landscape mode. I may try pluging in this ios picker as referenced in the issue above - https://github.com/hyperoslo/ImagePicker

EinfachHans commented 2 years ago

Mhh okay, i would also try to comment on that PR that this is an issue for you as well.

I can't switch to the other package in here as it doesn't support videos and stuff for example 😕

itbeyond commented 2 years ago

I understand and wonder if there is something else out there. I do not really need video support for this app but I have some others that would benefit from using this plugin that also need video. I am on a serious timeline right now. I was in beta release testing when this came up.

itbeyond commented 2 years ago

OK for anyone that must have Landscape images and/or video I reverted to the last Media Picker tool I was using and can confirm this solves the Landscape selection issues use :- https://github.com/DmcSDK/cordova-plugin-mediaPicker or my fork that puts the media files into the Document directory on iOS vs the temp directory to get around app reboots losing the media files https://github.com/itbeyond/cordova-plugin-mediaPicker. I can also confirm this works in Android API30 - cordova-android 10.1.1 cordova-ios 6.2.0 with Cordova 11.0.0.