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

Using cordova.raw API outside of cordova project results in uncaught exception instead or promise rejection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.0
    • None
    • cordova-lib

    Description

      When trying to cordova.raw.platfom('add', ...) outside of cordova project the following error message logged to console:

      > Error: Current working directory is not a Cordova-based project.

      However, the error callback for cordova.raw.platfom('add', ...) isn't called at all.

      Attachments

        Activity

          People

            vladimir.kotikov Vladimir Kotikov
            vladimir.kotikov Vladimir Kotikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: