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 21DC018CAB for ; Thu, 15 Oct 2015 19:00:09 +0000 (UTC) Received: (qmail 3659 invoked by uid 500); 15 Oct 2015 19:00:09 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 3637 invoked by uid 500); 15 Oct 2015 19:00:09 -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 3626 invoked by uid 99); 15 Oct 2015 19:00:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 19:00:08 +0000 Date: Thu, 15 Oct 2015 19:00:08 +0000 (UTC) From: "Rob Close (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-9811) Android bridge breaks after back button pressed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Rob Close created CB-9811: ----------------------------- Summary: Android bridge breaks after back button pressed Key: CB-9811 URL: https://issues.apache.org/jira/browse/CB-9811 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 5.2.0, 5.1.1 Environment: I see this problem on Android 4.4.2/Galaxy Note II and Android 5.1.1/Nexus 7 Reporter: Rob Close Priority: Blocker On Android, app is running, and you press home button. When you return to the app everything continues on. If you press back button, when you return events from native to JS are no longer fired. I set two breakpoints in NativeToJsMessageQueue.java: one in reset and one in setBridgeMode. On app startup, setBridgeMode is called twice. -1 for the first call and 2 for the second call. After resuming the app after back button is pressed, reset is called, which calls setBridgeMode(-1). setBridgeMode is not called again, and the bridge stops working. -- 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