[TIMOB-19946] Windows: Implement Titanium.UI.AlertDialog.hide
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-02-02T07:46:38.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | Release 5.3.0 |
Components | Windows |
Labels | qe-5.3.0 |
Reporter | Kota Iguchi |
Assignee | Gary Mathews |
Created | 2015-11-13T01:50:07.000+0000 |
Updated | 2016-04-29T21:12:54.000+0000 |
Description
Implement
Titanium.UI.AlertDialog.hide
for Windows if possible.
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/532
Tested this on Windows 10 Mobile but I got ""Access is denied" exception.
[~gmathews] Tested this on windows 10 / 8.1 devices & Emulators and
Titanium.UI.AlertDialog.hide
does not work, however I am not seeing the previous "Access is denied" exception either. Tested on: Windows 10 Pro Windows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201604081249 Ti SDK: 5.3.0.v20160418104631 Appc NPM: 4.2.5-1 Appc Core: 5.3.0-12 Node: v4.4.2Yes, unfortunately dialogs cannot be "hidden" on Windows 10 and 8.1 mobile devices and can only be dismissed by user interaction. This is a limitation of the OS. However, you should have received a warning log. Windows 8.1
Windows 10
Tested the demo code again, and was unable to produce the above mentioned warning logs for either windows 10 or windows 8 devices.
https://github.com/appcelerator/titanium_mobile_windows/pull/648 and https://github.com/appcelerator/titanium_mobile_windows/pull/649 will fix the logging issue
[~htbryant] Ok, the PRs have just been merged, so builds should come out shortly that spit out those warnings to the log.
Verified as fixed, the above warning logs are now returned correctly. Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201604290815 Ti SDK: 5.3.0.v20160429125919 Appc NPM: 4.2.5-3 Appc Core: 5.3.0-40 Node: v4.4.2 *Closing Ticket.*