cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Close (JIRA)" <>
Subject [jira] [Created] (CB-9811) Android bridge breaks after back button pressed
Date Thu, 15 Oct 2015 19:00:08 GMT
Rob Close created CB-9811:

             Summary: Android bridge breaks after back button pressed
                 Key: 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

I set two breakpoints in one in reset and one in setBridgeMode.

On app startup, setBridgeMode is called twice.  -1 for the first call and 2 for the second

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

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

View raw message