[TIMOB-26197] iOS: Deprecate Ti.Media.createSystemAlert, move to own "Ti.SystemAlert" module
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-08-16T18:14:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.0.0 |
Components | iOS, TiAPI |
Labels | parity, ti.media |
Reporter | Christopher Williams |
Assignee | Hans Knöchel |
Created | 2018-07-10T19:48:05.000+0000 |
Updated | 2019-11-07T13:18:50.000+0000 |
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.
- Ti.SystemSound module: https://github.com/appcelerator-modules/ti.systemalert - Deprecation note in the core: https://github.com/appcelerator/titanium_mobile/pull/10177
*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. *Test Steps:*Created a new application with the following code
Added a .wav file int the resources directory
Ran the program and got the following deprecation message (sound still played)
Now downloaded the
ti.systemalert
moduleChanged the code in the application to
Sound played without any issue and no warning messages were shown
*Test Environment*Hi guys, github gives me E404 on this url: https://github.com/appcelerator-modules/ti.systemalert Is any chance to correct url to make it available again? Same url is posted in Docs: https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.SystemAlert Thanks
[~max87], sorry about that. The repo was private. We just made it public now.
Thanks Joshua, it's working now...