Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14257

Default backbutton executes even after overriding by adding event listener on deviceready

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: cordova-android-7.0.0
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None
    • Environment:

      Cordova - 7.0.0

      Cordova-android - 7.0.0

      Angular - 5

      OnsenUI(CSS) - 2

      Description

      I am working on Cordova, Angular5 and OnsenUI(CSS Only).

      1. I added backbutton event listener in deviceready.
      2. When i navigate to 3 pages and press backbutton, the backbutton callback triggered but default backbutton executes after that and webview got terminated.

      *Now when i add backbutton event listener it should override with my call back, but it executes both, Can some one help me out*

      Note: Before integrated OnsenUI CSS, callback of backbutton working properly which means only Cordova with Angular5

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              9963841110 Dilip
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: