Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C827817AC9 for ; Fri, 10 Jul 2015 12:07:04 +0000 (UTC) Received: (qmail 2196 invoked by uid 500); 10 Jul 2015 12:07:04 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 2174 invoked by uid 500); 10 Jul 2015 12:07:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 2156 invoked by uid 99); 10 Jul 2015 12:07:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2015 12:07:04 +0000 Date: Fri, 10 Jul 2015 12:07:04 +0000 (UTC) From: "Kelvin Dart (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-9347) You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 has caused this MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Dart updated CB-9347: ---------------------------- Summary: You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 has caused this (was: Commit #ee3b02b3 has lost the behaviour which allowed you to "stack" alerts) > You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 has caused this > ------------------------------------------------------------------------------------------- > > Key: CB-9347 > URL: https://issues.apache.org/jira/browse/CB-9347 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, Plugin Dialogs > Affects Versions: 1.1.0 > Environment: Mac OS X Yosemite 10.10.4; XCode 6.4 > Reporter: Kelvin Dart > Priority: Critical > > Previously in cordova-plugin-dialogs, you could stack alerts in Cordova like follows: > {code} > navigator.notification.alert('Notification 1', function () {}, 'Title 1'); > navigator.notification.alert('Notification 2', function () {}, 'Title 2'); > {code} > And it would show 'Notification 2' then 'Notification 1'. > Now you cannot, in commit: #ee3b02b3c78debe608263d847f7ac69bda1bfca0, there was quite a large overhaul in {{showDialogWithMessage}} in {{CDVNotification.m}}; this commit seems to add some code for iOS 8.3+ which uses {{UIAlertController}} instead of the old {{UIAlertView}}. The problem is here - unfortunately I do not know Obj-C too well in order to debug it. > If you revert to a cordova-plugin-dialogs version prior to this, the stacked notifications work fine. > I have created a small test harness which you can download [here|https://www.dropbox.com/s/62hdp3gjp2924er/CDVDialogsNotificationBug.zip?dl=0]. > Please could you implement the old behaviour as this has cause some aspects of my app to break - thanks! -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org