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 0D92F17274 for ; Tue, 26 Jan 2016 10:32:40 +0000 (UTC) Received: (qmail 67399 invoked by uid 500); 26 Jan 2016 10:32:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 67371 invoked by uid 500); 26 Jan 2016 10:32:40 -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 67360 invoked by uid 99); 26 Jan 2016 10:32:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 10:32:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C44CA2C1F54 for ; Tue, 26 Jan 2016 10:32:39 +0000 (UTC) Date: Tue, 26 Jan 2016 10:32:39 +0000 (UTC) From: "Sergey Shakhnazarov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-8342) SplashScreen plugin doesn't destroy it's views which seems to block user interaction 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-8342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shakhnazarov updated CB-8342: ------------------------------------ Labels: ios splashscreen triaged wfc (was: ios splashscreen) > SplashScreen plugin doesn't destroy it's views which seems to block user interaction > ------------------------------------------------------------------------------------ > > Key: CB-8342 > URL: https://issues.apache.org/jira/browse/CB-8342 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin SplashScreen > Reporter: Jamal Johnson > Labels: ios, splashscreen, triaged, wfc > > We recently updated the SplashScreen plugin for iPhone 6/6+ support but uncovered an issue that appears to have been caused by a fix for another issue. > There was a bug report (https://issues.apache.org/jira/browse/CB-7204) concerning it sounds like a race condition with the spinner and the splash screen and the fix was to make sure the animation "completed" by checking a boolean passed to the animation "completion" function, when hiding the SplashScreen, before destroying it's views. This boolean, according to the docs, will be false if another view is animated in before this one was "completed". > Here is the commit with the fix: d2e62a551c950041cb4c9683624a04d931f4bee3 (https://github.com/apache/cordova-plugin-splashscreen/commit/d2e62a551c950041cb4c9683624a04d931f4bee3) > We have a case where we have another view (a PinLock plugin) that sometimes gets animated in before the SplashScreen animation is fully complete. There doesn't seem to be any issues with this and is transparent to the user. However, with the addition of checking the "finished" boolean before destroying the views, the app becomes unusable. If we comment that conditional out, everything works fine again. > Is there another way to handle fixing the race condition? Or any other suggestions? -- 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