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

Remove unused iOS bridges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-ios

    Description

      We have 7 bridges in iOS:
      https://github.com/apache/cordova-ios/blob/c0fe92d6c0b91efa2da0d5cec78e0baa95ce55c9/cordova-js-src/exec.js#L36-L43

      IFRAME_NAV is the default, and is actively used.
      WK_WEBVIEW_BINDING will be used by the wkwebview-engine plugin,
      although I really want the plugin itself to inject this, haven't
      explored that yet.

      Remove these bridges:
      https://github.com/apache/cordova-ios/blob/c0fe92d6c0b91efa2da0d5cec78e0baa95ce55c9/cordova-js-src/exec.js#L38-L42

      XHR_NO_PAYLOAD
      XHR_WITH_PAYLOAD
      XHR_OPTIONAL_PAYLOAD
      IFRAME_HASH_NO_PAYLOAD
      IFRAME_HASH_WITH_PAYLOAD

      ... and their associated native code.

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              shazron Shazron Abdullah
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: