incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-950) navigator.notification.alert not working outside onDeviceReady on 5.1 sdk
Date Thu, 21 Jun 2012 22:47:42 GMT


Shazron Abdullah commented on CB-950:

It is resolved because it works after using the deviceready event - and has been tested, and
I just tested it again. I don't know why it doesn't work for you, but this is not a problem
with the API.

Provide some sample code where it *doesn't* work so we can repro. If deviceready doesn't work,
all PhoneGap apps won't work and we will definitely hear about it. This is most likely user

> navigator.notification.alert not working outside onDeviceReady on 5.1 sdk
> -------------------------------------------------------------------------
>                 Key: CB-950
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.8.1
>         Environment: Xcode 4.3.3 iOS 5.1 simulator
>            Reporter: Diogo Lima
>            Assignee: Shazron Abdullah
>              Labels: ios, ios5.1
> navigator.notification.alert working only if is inside onDeviceReady, is not working
outside. I notice that is working after a reload using document.location = "index.html".
> I have created a new project, then the message "Cordova is working!" appears as usual,
but when moving it to another <script> block, it's not working.

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


View raw message