Open cerealexx opened 5 years ago
Hi,
I am also facing the same issue while using iPad with iOS 13.2.3.
By using this plugin, when I am trying to accessing my iPad gallery, my complete app got frozen.
Also, I am going to share my findings:
Maybe this will help you guys to resolve this issue.
+1
@cerealexx @Sharad2390 - For the time being we are looking at this. You can pass disable_popover
=> true to getPictures()
function and you will be able to access things(photos) in a different way.
Thanks for your patience.
This worked for me. But the buttons on the top are not translated properly. I mean it shows "picker.navigation.cancel-button" on the left and on the right "picker.navigation.done-button"
Besides that it works
@deliverymanager - Kindly share system(device) information here So we can dig into it?
Worked for me too. Thanks!
Here is my system info:
Thanks for your reply.
I have put disable_popover: true
in options at getPictures function. Now, it is working fine for me.
Here is my system info:
@deliverymanager - Which language you are using in your device as default ?
Greek or "el" as a language code.
Greek or "el" as a language code. @deliverymanager - We have not supported Greek that's the reason you are getting this. It works fine for English.
How can I help to make the translations for Greek language? Could you please send me the language file with the english phrases? Or just some important phrases, so that I can translate them?
The workaround with disable_popover
works on iPad, but not iPhone.
Getting this exception
Actually it only crashes on iOS 13.2.3 (iPhone Xr) but works fine on an older iOS 13.1.x (iPhone 7)
Getting the same error. The suggested fix with disable_popover
works, tested on iPad only.
Actually it only crashes on iOS 13.2.3 (iPhone Xr) but works fine on an older iOS 13.1.x (iPhone 7)
Seems it's hardware related, works on iOS 13.3 on iPhone 7. On Xr it only works the first time after I install it. Second time it crashes.
Looks like the root cause of the issue is that starting from iOS 13 you have to specify UIPopoverPresentationController.sourceRect
which is commented out in the source code now. I just set it to appear like this popPC.sourceRect = CGRectMake(0, 0, 0, 0);
(top left corner) and it started to work even if disable_popover
is false.
Thank you andreyqin. This is the solution that worked for me!
Is there a branch or PR with that fix? I'm a noob in Objective C unfortunately...
This line?
@benjamineberle yes, correct. The only disadvantage of this solution is that your popover will appear at the top left corner of the screen which may be confusing for users. Unfortunately, I wasn't been able to find a way to center it, some found solutions worked in a completely different way, not as they supposed to be working.
Tested on an iPad with iOS 13.2.3.
When calling getPictures the plugin shows the permission modal and then freezes on tapping on allow. Any additional tries after giving permission result in same app freezing.
I'm using plugin version 2.3.3