[TIMOB-28067] iOS: swipe down gallery photo picker does not fire cancel callback
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-08-25T00:40:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.1.0 |
Components | iOS |
Labels | Ti.SDK, ios, ios13, media, openPhotoGallery |
Reporter | Caio Perdona |
Assignee | Vijay Singh |
Created | 2020-08-04T15:03:44.000+0000 |
Updated | 2021-01-18T09:08:19.000+0000 |
Description
Create a component that picks photos from gallery with Ti.Media.openPhotoGallery().
When photo picker modal shows up, dispose it, dragging it down. It does not fire the "cancel" callback from method.
If you try to open gallery picker again right after completing the above, it opens error callback.
There's still no working around this.
Is this a known bug? I would appreciate any help.
Thanks in advance!
Attachments
[~perdona] Thanks for reporting. I'll check it.
PR - https://github.com/appcelerator/titanium_mobile/pull/11868 How To Test - 1. Run test code, mentioned below, on iOS 13.0+ iPhone/iPad simulator. 2. Click on button 'Open Photo Gallery'. 3. In iPhone, swipe down the gallery screen to close. In iPad click outside of gallery screen. 4. Observe log message. It should show ' Photo gallery selection canceled.' Test Case -
Thanks a lot, @Vijay Singh
FR Passed, waiting for Jenkins build and backport.
merged to master and 9_1_X. [~lchoudhary][~amukherjee] Note: that if we change the version to deploy for 9.1.0 GA from the RC, then this may get picked up.
[~cwilliams] thanks; I changed the fix version to 9.1.0.
Closing.