Apache Cordova
  1. Apache Cordova
  2. CB-936

CordovaInterface has too many methods

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None

      Description

      When I work with CordovaWebView, CordovaInterface requires me to implement the following methods:

      • bindBackButton
      • bindButton
      • cancelLoadUrl
      • getActivity
      • isBackButtonBound
      • onMessage
      • setActivityResultCallback
      • startActivityForResult

      This insanity has to stop! We need to make it easier for people to use CordovaWebView with their applications. This is visible in the test application.

        Activity

        Hide
        Joe Bowser added a comment -

        We minimized the number of methods for now. This ticket should be closed.

        Show
        Joe Bowser added a comment - We minimized the number of methods for now. This ticket should be closed.
        Hide
        Joe Bowser added a comment -

        Moved bindBackButton, bindButton and isBackButtonBound to webView, removing from the Cordova Interface. Still need to figure out if the rest are necessary.

        Show
        Joe Bowser added a comment - Moved bindBackButton, bindButton and isBackButtonBound to webView, removing from the Cordova Interface. Still need to figure out if the rest are necessary.

          People

          • Assignee:
            Joe Bowser
            Reporter:
            Joe Bowser
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development