You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/02/22 21:50:12 UTC
[jira] [Resolved] (CB-2402) notification.alert misbehaving with ios
6/6.1
[ https://issues.apache.org/jira/browse/CB-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/CB-2402
> 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: http://community.phonegap.com/nitobi/topics/navigator_notification_alert_only_works_once
--
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: http://www.atlassian.com/software/jira