{ "id": "175400", "key": "TIMOB-28067", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-25T00:40:38.000+0000", "created": "2020-08-04T15:03:44.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Ti.SDK", "ios", "ios13", "media", "openPhotoGallery" ], "versions": [], "issuelinks": [ { "id": "59107", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175964", "key": "TIMOB-28320", "fields": { "summary": "Ti.UI.Window Test Suite: Titanium.UI.Window Acceptance TIMOB-28067 iOS Only", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "10100", "description": "This Issue Type is used to create Zephyr Test within Jira.", "name": "Test", "subtask": false } } } }, { "id": "58677", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175476", "key": "TIMOB-28100", "fields": { "summary": "iOS: MediaModule.o compile error when packaging for app store", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-01-18T09:08:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Create a component that picks photos from gallery with Ti.Media.openPhotoGallery().\r\nWhen photo picker modal shows up, dispose it, dragging it down. It does not fire the \"cancel\" callback from method.\r\nIf you try to open gallery picker again right after completing the above, it opens error callback.\r\nThere's still no working around this.\r\n\r\nIs this a known bug? I would appreciate any help.\r\nThanks in advance!", "attachment": [ { "id": "67482", "filename": "SampleApp.zip", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-04T15:03:12.000+0000", "size": 8752258, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: swipe down gallery photo picker does not fire cancel callback ", "creator": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.15.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8.0GB\r\n\r\nNode.js\r\n Node.js Version = 12.18.2\r\n npm Version = 6.14.5\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\n node-appc Version = 0.2.49\r\n\r\nTitanium SDKs\r\n 9.0.3.GA\r\n Version = 9.0.3\r\n Install Location = /Users/perdona/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA\r\n Platforms = iphone, android\r\n git Hash = 0b2fb28f0c\r\n git Timestamp = 6/9/2020 13:10\r\n node-appc Version = 0.3.4", "comment": { "comments": [ { "id": "456342", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~perdona] Thanks for reporting. I'll check it.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-05T02:24:03.000+0000", "updated": "2020-08-05T02:24:03.000+0000" }, { "id": "456348", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11868\r\n\r\nHow To Test -\r\n1. Run test code, mentioned below, on iOS 13.0+ iPhone/iPad simulator.\r\n2. Click on button 'Open Photo Gallery'.\r\n3. In iPhone, swipe down the gallery screen to close. In iPad click outside of gallery screen. \r\n4. Observe log message. It should show ' Photo gallery selection canceled.'\r\n\r\nTest Case -\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Open Photo Gallery'\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n Ti.Media.openPhotoGallery({\r\n\t\tsuccess: function(e) {\r\n\t\t Ti.API.info(\"Photo gallery selection successful.\");\r\n\t\t},\r\n\t\tcancel: function() {\r\n\t\t\tTi.API.info(\" Photo gallery selection canceled.\");\r\n\t\t},\r\n\t\terror: function() {\r\n\t\t\tTi.API.info(\"Photo gallery selection error.\");\r\n\t\t}\r\n\t})\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-05T19:06:31.000+0000", "updated": "2020-08-05T19:16:59.000+0000" }, { "id": "456351", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks a lot, @Vijay Singh", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-05T22:04:16.000+0000", "updated": "2020-08-05T22:04:16.000+0000" }, { "id": "456529", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting for Jenkins build and backport.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-20T13:44:39.000+0000", "updated": "2020-08-20T13:44:39.000+0000" }, { "id": "456548", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master and 9_1_X.\r\n\r\n[~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.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-08-21T14:39:17.000+0000", "updated": "2020-08-21T14:39:17.000+0000" }, { "id": "456551", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cwilliams] thanks; I changed the fix version to 9.1.0.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-21T19:56:34.000+0000", "updated": "2020-08-21T19:56:34.000+0000" }, { "id": "456575", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-25T00:40:34.000+0000", "updated": "2020-08-25T00:40:34.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }