{ "id": "171904", "key": "TIMOB-26197", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-08-16T18:14:18.000+0000", "created": "2018-07-10T19:48:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity", "ti.media" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-11-07T13:18:50.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" }, { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "The Ti.Media.createSystemAlert and Titanium.Media.SystemAlert APIs should be looked at and determined if this should be moved out to an ios-specific namespace, deprecated, or extended to other platforms.\r\n", "attachment": [], "flagged": false, "summary": "iOS: Deprecate Ti.Media.createSystemAlert, move to own \"Ti.SystemAlert\" module", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "439169", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "- Ti.SystemSound module: https://github.com/appcelerator-modules/ti.systemalert\r\n- Deprecation note in the core: https://github.com/appcelerator/titanium_mobile/pull/10177", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-12T13:45:57.000+0000", "updated": "2018-07-12T13:45:57.000+0000" }, { "id": "443884", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket* Verified improvement in SDK version {{8.0.0.v20181121114345}}. Able to get the deprecation message when not using the Ti.SystemAlert module. And when using the module no deprecation message is shown and sound is played without any issues. \r\n\r\n*Test Steps:*\r\n# Created a new application with the following code\r\n{code:java}\r\nvar player = Ti.Media.createSystemAlert({url:\"alert.wav\"});\r\nplayer.play();\r\n{code}\r\n# Added a .wav file int the resources directory \r\n# Ran the program and got the following deprecation message (sound still played)\r\n{code:java}\r\n[WARN] : The iOS-only SystemAlert API has been deprecated and moved to an external module in 8.0.0.\r\n[WARN] : It will be removed from the core in the future, please migrate!\r\n{code}\r\n# Now downloaded the {{ti.systemalert}} module\r\n# Changed the code in the application to \r\n{code:java}\r\nvar SystemAlert = require('ti.systemalert');\r\n\r\nvar mySystemAlert = SystemAlert.createSystemAlert({\r\n url: 'alert.wav'\r\n});\r\nmySystemAlert.play();\r\n{code}\r\n# Sound played without any issue and no warning messages were shown\r\n\r\n*Test Environment*\r\n{code:java}\r\nAPPC Studio: 5.1.0.201808080937\r\niPhone 7 Sim (iOS 12.1)\r\nAPPC CLI: 7.0.8-5\r\nOperating System Name: Mac OS Mojave\r\nOperating System Version: 10.14.1\r\nNode.js Version: 8.9.1\r\nXcode 10.1\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-26T15:56:29.000+0000", "updated": "2018-11-26T15:56:29.000+0000" }, { "id": "452488", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi guys,\r\ngithub gives me E404 on this url: https://github.com/appcelerator-modules/ti.systemalert\r\nIs any chance to correct url to make it available again?\r\nSame url is posted in Docs: https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.SystemAlert\r\nThanks", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2019-11-06T13:09:54.000+0000", "updated": "2019-11-06T13:09:54.000+0000" }, { "id": "452502", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~max87], sorry about that. The repo was private. We just made it public now.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-06T19:02:22.000+0000", "updated": "2019-11-06T19:02:22.000+0000" }, { "id": "452524", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Thanks Joshua, it's working now...", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2019-11-07T13:18:50.000+0000", "updated": "2019-11-07T13:18:50.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }