{ "id": "149746", "key": "AC-236", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-05T11:41:17.000+0000", "created": "2015-07-16T21:54:48.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2017-04-06T11:49:54.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.EmailDialog-event-complete\r\n\r\nOn Android, this property will return SENT when the user discards or saves a message.\r\n\r\nThis is not feature parity with iOS which can do the following\r\n \r\nThis API can be assigned the following constants:\r\n\r\nCANCELLED\r\nFAILED\r\nSAVED\r\nSENT\r\n\r\nPlease make the Android API have feature parity with iOS. Thanks", "attachment": [], "flagged": false, "summary": "Android EmailDialog result needs not always be set to sent", "creator": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "all", "comment": { "comments": [ { "id": "357868", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~sophrinix] can you please attach a test case?", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-16T22:08:44.000+0000", "updated": "2015-07-16T22:08:44.000+0000" }, { "id": "368789", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello\r\n\r\nCould you please attach a runnable test case, steps to reproduce this issue and your working environment details?\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-03T08:31:54.000+0000", "updated": "2015-11-05T08:48:16.000+0000" }, { "id": "416913", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Problem still exists. There is even a comment in the source code at:\r\nhttps://github.com/appcelerator/titanium_mobile/blob/a8aceeaeee02ed9c8ea70c835a0e78960e254a55/android/modules/ui/src/java/ti/modules/titanium/ui/EmailDialogProxy.java#L161\r\n\r\nDemo (from the documentation + event)\r\n\r\n{code:java}\r\nvar emailDialog = Ti.UI.createEmailDialog()\r\nemailDialog.subject = \"Hello from Titanium\";\r\nemailDialog.toRecipients = ['foo@yahoo.com'];\r\nemailDialog.messageBody = 'Appcelerator Titanium Rocks!';\r\nvar f = Ti.Filesystem.getFile('cricket.wav');\r\nemailDialog.addAttachment(f);\r\nemailDialog.open();\r\nemailDialog.addEventListener(\"complete\",function(e){ console.log(e);});\r\n{code}\r\n\r\nIf you press cancel/on the grey area when you see the \"select email program\" it will still show a \"send\" in the complete event", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-06T11:49:54.000+0000", "updated": "2017-04-06T11:49:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }