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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • cordova-android-7.0.0
    • None
    • cordova-android
    • None
    • 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

            Unassigned Unassigned
            9963841110 Dilip
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: