cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanislav Iegorov (JIRA)" <>
Subject [jira] [Commented] (CB-10154) alert() - callback is not fired on a real device (iOS 8.4.1)
Date Fri, 25 Mar 2016 20:56:25 GMT


Stanislav Iegorov commented on CB-10154:


Here is a method from my last attempt. Don't mind the navigator.notification.confirm - same
happens to .alert.

function DisplayFlushRecentItemsConfirmationDialog() {
    'You are about to clear recent history. Proceed?', 
    'Clear recent',
    ['Proceed', 'Cancel']);

function FlushRecentItems(buttonIndex) {
    //User's pressed Proceed.
    if (buttonIndex == "1") {

DisplayFlushRecentItemsConfirmationDialog method isn't affected by normal app lifecycle -
only user invokes it manually.

Behaviour is really strange - when I launch an app (fresh launch) and call DisplayFlushRecentItemsConfirmationDialog,
confirm window appears as it should, but after several minutes of usage I try to invoke the
method again and nothing happens.

To my mind it looks like something gets broken in plugin call chain. Probably somewhere in
JS code -> cordova.exec -> native iOS plugin code chain.

Also, it might be something with plugin implementation for iOS 8 - I saw some IFDEFs in CDVNotification.


> alert() - callback is not fired on a real device (iOS 8.4.1)
> ------------------------------------------------------------
>                 Key: CB-10154
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Dialogs
>    Affects Versions: 1.2.0, 1.2.1-dev
>         Environment: Cordova CLI 5.3.3, cordova ios v. 3.9.2, device: iPhone 4S, iOS
>            Reporter: Stanislav Iegorov
>            Assignee: jcesarmobile
>   Original Estimate: 240h
>  Remaining Estimate: 240h
> When called from JS code alert() gets invoked, but no alert windows is displayed. The
same situation is with a callback passed into alert() - nothing gets invoked.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message