Ypimagepicker: please update pod for ios 14

Created on 23 Sep 2020  路  6Comments  路  Source: Yummypets/YPImagePicker

after update ios14, i got this error

Screen Shot 2020-09-23 at 20 29 16

Crash Xcode12 / iOS14

Most helpful comment

Yes, but it crashes if user gives LIMITED permission, then iOS 14 shows him his gallery to choose photos that he allows app to use and if user doesn't choose any photo, app crashes since it tries to create the asset from the first photo from library (I think for preview or smth like that)

All 6 comments

https://github.com/Yummypets/YPImagePicker/issues/563 this helps, but generally, pod needs to be updated, it crashes when user cancels selection and Apple Review team says that it crashes, but I can't find where.

@almet88 use firebase analystic to check problem bro

It crashes on line 183 in file YPLibraryVC if user does not give access to any photo in Limited photo access mode.

i think u can request permission before using library each time

Yes, but it crashes if user gives LIMITED permission, then iOS 14 shows him his gallery to choose photos that he allows app to use and if user doesn't choose any photo, app crashes since it tries to create the asset from the first photo from library (I think for preview or smth like that)

Crash reproduced only with defaultMultipleSelection == true.
Fixed 89acc4c3bea687f53e7b05a9adab08153f158721

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uxight picture uxight  路  6Comments

jonnyarc picture jonnyarc  路  3Comments

Berk-Kaya picture Berk-Kaya  路  3Comments

roarapps picture roarapps  路  4Comments

DamascenoRafael picture DamascenoRafael  路  5Comments