{ "id": "76278", "key": "TIMOB-4366", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11360", "description": "Mobile 1.8.0 M07", "name": "Sprint 2011-28", "archived": true, "released": true, "releaseDate": "2011-07-18" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-07-18T13:43:09.000+0000", "created": "2011-06-13T07:23:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:30:31.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": "h1. Feature\r\nAndroid has support for toast notifications through the method \"Ti.UI.createNotification\". We can expand this to support iOS as well, and add documentation to the APIDocs.\r\n\r\nI'm aware this isn't a native feature of iOS, but it's still something useful we could offer our users. And it shouldn't be too difficult to do, because we already show similar notifications in the kitchen sink using [pure JavaScript|https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/app.js#L103].\r\n\r\nh2. Sample Code\r\nThe following works on Android:\r\n{code:title=app.js}\r\nTi.UI.createNotification({ message : 'Hello, World!' }).show();\r\n{code}\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/HNU-68239-489", "attachment": [], "flagged": false, "summary": "iOS: Support Ti.UI.createNotification", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "408474", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:30:31.000+0000", "updated": "2017-03-02T19:30:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }