cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Resolved] (CB-2402) notification.alert misbehaving with ios 6/6.1
Date Fri, 22 Feb 2013 20:50:12 GMT


Filip Maj resolved CB-2402.

       Resolution: Fixed
    Fix Version/s: 2.4.0

I just tried on an iPad running 6.1 with Cordova 2.4.0. Works as expected so I believe this
has already been fixed.
> notification.alert misbehaving with ios 6/6.1
> ---------------------------------------------
>                 Key: CB-2402
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 2.2.0, 2.3.0
>         Environment: ios 6.1, ipad, phone gap build 2.2.0
>            Reporter: mod zu
>            Assignee: Filip Maj
>             Fix For: 2.4.0
> navigator.notification.alert is firing on initial page load, but does not fire on subsequent
visits to the page
> to reproduce:
> add an alert to fire when page is loaded:
> navigator.notification.alert("body of alert", null, "title of alert");
> add a button to reload the page:
> location.reload()
> and a second button to call the alert directly, showalert()
> NOW the problem:
> alert fires on first pageload.
> but when hitting the reload button, the alert does not fire.
> when the showalert button is clicked, it fires the alert and also fires all the missed
alerts from each time the page was reloaded
> others have reported that when closing the app and opening it again, they see the alerts
appear then (in my particular example i quit the app on close and do not see them appear later)
> for more discussion, see:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message