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

Can not add InAppBrowser plugin with Android platform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.4.0
    • None
    • Cordova 3.2.0-0.4.0
      InAppBrowser r0.3.1 or newer

    Description

      Trying to add the InAppBrowser plugin to a project with the Android platform added results in the following error:

      Fetching plugin from "cordova-plugin-inappbrowser"...
      Starting installation of "org.apache.cordova.inappbrowser" for android
      [TypeError: Cannot read property 'install' of undefined]
      inappbrowsertest:ERR trapped at line #27: $?=1

      I use the following commands to duplicate this:

      cordova create test "com.te.test" test
      cd test
      cordova platform add android
      git clone https://github.com/apache/cordova-plugin-inappbrowser.git
      cordova plugin add cordova-plugin-inappbrowser

      Attachments

        Activity

          People

            Unassigned Unassigned
            jay.snyder Jay Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: