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

plugin remove throwing error for master android

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      Example:

      cordova plugin rm cordova-plugin-device
      Warning: using prerelease version 6.2.1-dev (cordova-lib@6.2.1-dev)
      Uninstalling cordova-plugin-device from android
      Error: Cannot read property 'emit' of undefined

      platform used: cordova-android master

      Looks to be an issue with this line https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/Api.js#L229

        Attachments

          Activity

            People

            • Assignee:
              stevegill Steve Gill
              Reporter:
              stevegill Steve Gill
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: