{ "id": "155547", "key": "TIMOB-20533", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-05-16T22:50:07.000+0000", "created": "2016-03-08T09:39:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "56538", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "170101", "key": "TIMOB-25439", "fields": { "summary": "Android: Intent extra 'file://' URI not working on Android 7 or higher", "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": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-05-16T22:50:07.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. Steps to Reproduce\r\n{code:javascript}\r\nvar filename = 'someImage.jpg';\r\n\r\nvar file = Titanium.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, filename);\r\n\r\nvar window = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\n\tvar imageView = Ti.UI.createImageView({\r\n\t\ttop: 0,\r\n\t\twidth: '100%',\r\n\t\timage: file.nativePath\r\n\t});\r\n\t\r\n\tvar shareButton = Ti.UI.createView({\r\n\t\theight: 100,\r\n\t\twidth: 200,\r\n\t\tbackgroundColor: 'purple',\r\n\t\tbottom: 0,\r\n\t});\r\n\t\r\n\r\n\twindow.add(imageView);\r\n\twindow.add(shareButton); \r\n\r\n\r\n\tshareButton.addEventListener('click', function() {\r\n\t\talert('shareClick');\r\n\t\t\r\n\t\tvar shareIntent = Ti.Android.createIntent({\r\n\t action: Ti.Android.ACTION_SEND,\r\n\t type: \"image/jpeg\"\r\n });\r\n \r\n\t shareIntent.putExtra(Ti.Android.EXTRA_TITLE, 'title');\r\n\t shareIntent.putExtra(Ti.Android.EXTRA_TEXT, 'text');\r\n\t shareIntent.putExtraUri(Ti.Android.EXTRA_STREAM, file.nativePath);\r\n\t Ti.Android.currentActivity.startActivity(Ti.Android.createIntentChooser(shareIntent, 'share'));\r\n\t\t\r\n\t});\r\n\r\nwindow.open();\r\n{code}\r\n\r\nh3. Actual Result\r\n.putExtra() and .putExtraUri() is not working properly because EXTRA_TEXT, EXTRA_TITLE, EXTRA_STREAM is not showing in app - fields (text, title) are blank, and shared image is blank (Facebook, Messages - 1. shared.png) or application is returning message that it was impossible to read image.\r\n\r\nIt's a new bug (AS 4.5.0) because this function was working properly in earlier version.\r\n\r\nEverything is fine with image because it is showing in the app. (1. screen.png)\r\n\r\nh3. Expected Result\r\nRemoving bug. It is blocking whole share functionality", "attachment": [ { "id": "58535", "filename": ".log", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T09:40:27.000+0000", "size": 9095070, "mimeType": "text/plain" }, { "id": "58537", "filename": "1. screen.png", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T09:40:33.000+0000", "size": 134625, "mimeType": "image/png" }, { "id": "58536", "filename": "1. shared.png", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-08T09:40:30.000+0000", "size": 59416, "mimeType": "image/png" } ], "flagged": false, "summary": "Ti.Android.Intent is not working properly", "creator": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X El Captain\r\nSDK: 5.1.1GA - 5.2.0GA\r\nDevice: Real (Sony Xperia Z2) and GenyMotion Simulator", "closedSprints": [ { "id": 1034, "state": "closed", "name": "2018 Sprint 10 SDK", "startDate": "2018-05-07T00:03:21.636Z", "endDate": "2018-05-21T00:03:00.000Z", "completeDate": "2018-05-20T20:54:58.928Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "437717", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue was resolved in Titanium 6.3.0. See: [TIMOB-25439]", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-16T22:49:36.000+0000", "updated": "2018-05-16T22:49:36.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }