Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19946] Windows: Implement Titanium.UI.AlertDialog.hide

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-02-02T07:46:38.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsqe-5.3.0
ReporterKota Iguchi
AssigneeGary Mathews
Created2015-11-13T01:50:07.000+0000
Updated2016-04-29T21:12:54.000+0000

Description

Implement Titanium.UI.AlertDialog.hide for Windows if possible.

Comments

  1. Gary Mathews 2016-01-13

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/532
  2. Kota Iguchi 2016-01-31

    Tested this on Windows 10 Mobile but I got ""Access is denied" exception.
  3. Harry Bryant 2016-04-18

    [~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.2
  4. Gary Mathews 2016-04-21

    Yes, 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
       AlertDialog::hide() is not supported on Windows Phone
       
    Windows 10
       AlertDialog::hide() is not supported on Windows 10 Mobile
       
  5. Harry Bryant 2016-04-25

    Tested the demo code again, and was unable to produce the above mentioned warning logs for either windows 10 or windows 8 devices.
  6. Christopher Williams 2016-04-28

    https://github.com/appcelerator/titanium_mobile_windows/pull/648 and https://github.com/appcelerator/titanium_mobile_windows/pull/649 will fix the logging issue
  7. Christopher Williams 2016-04-29

    [~htbryant] Ok, the PRs have just been merged, so builds should come out shortly that spit out those warnings to the log.
  8. Harry Bryant 2016-04-29

    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.*

JSON Source