{ "id": "136539", "key": "TIMOB-17708", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-19T17:59:45.000+0000", "created": "2014-09-14T09:51:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "emaildialog", "ios8", "kitchensink", "qe-manualtest" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T20:23:12.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": "I did use the search and did not find an issue already so I hope it is not a duplicate.\r\n\r\nRunning the following code on iOS 8 you will notice that the message and the recipient(s) are not set in the email dialog. \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#ccc'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'mail'\r\n});\r\n\r\nwin.add(btn);\r\nbtn.addEventListener('click', function () {\r\n \r\n var emailDialog = Ti.UI.createEmailDialog();\r\n emailDialog.setSubject(\"My Subject\");\r\n emailDialog.setToRecipients(['email@example.com']);\r\n emailDialog.setBarColor('#CCCCCC');\r\n emailDialog.setMessageBody('Message');\r\n emailDialog.open();\r\n\r\n});\r\nwin.open();\r\n{code}\r\n\r\nThe dialog also seems to close automatically after a while but not sure whether it is related to this:\r\n\r\n{code}\r\nviewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 \"The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)\" UserInfo=0x7b65c7c0 Message=Service Connection Interrupted\r\n\r\n timed out waiting for fence barrier from com.apple.MailCompositionService\r\n{code}\r\n\r\nEnvironment: \r\n* Titanium Command-Line Interface, CLI version 3.4.0-rc2, Titanium SDK version 3.4.0.v20140911135715\r\n* Xcode 6\r\n* Titanium Studio, build: 3.4.0.201409121841\r\n* Alloy 1.5.0 rc\r\n* iPhone 6 Plus simulator but also others are affected ", "attachment": [], "flagged": false, "summary": "iOS8: Email dialog does not recognize message and recipients", "creator": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 219, "state": "closed", "name": "2014 Sprint 19 SDK", "startDate": "2014-09-18T21:06:27.559Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T13:58:58.022Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "324077", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Looks like the iOS 8 simulator does not support the email dialog. Shortly after opening, it closes with an internal error. \r\nField a PR that outputs a comment on the console asking the developer to test on a device.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6103", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T21:50:01.000+0000", "updated": "2014-09-16T21:50:01.000+0000" }, { "id": "324207", "author": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Maybe the method \"isSupported()\" could return \"false\" as well? I am usually using this method to trigger an alert or the email dialog.\r\n\r\nWill test it on a device as soon as I have installed iOS 8. Wondering if message and recipients will be displayed there.", "updateAuthor": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-17T09:16:40.000+0000", "updated": "2014-09-17T09:17:06.000+0000" }, { "id": "324234", "author": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Works on an actual iOS 8 device for me", "updateAuthor": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-17T14:49:10.000+0000", "updated": "2014-09-17T14:49:10.000+0000" }, { "id": "324558", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pedro, we can go ahead and merge this PR.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T18:30:25.000+0000", "updated": "2014-09-18T18:30:25.000+0000" }, { "id": "324771", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport to 3.4.x https://github.com/appcelerator/titanium_mobile/pull/6131", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T18:24:31.000+0000", "updated": "2014-09-19T18:24:31.000+0000" }, { "id": "324787", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I sent an email, using above code.\r\nTested environment\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409161950\r\nTitanium SDK, build: 3.4.0.v20140919123315\r\nacs@1.0.16\r\nalloy 1.5.0-rc2\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc4\r\ntitanium-code-processor@1.1.1\r\nXcode6.0.1 (6A317)\r\nDevices:\r\niPhone 5S iOS8", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T20:55:55.000+0000", "updated": "2014-09-19T20:55:55.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }