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

Cordova plugin after_run hook terminates before promise is resolved

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Running Cordova 7.1.0 on macOS Sierra 10.12.6

      Description

      When creating a plugin that hooks itself up on the after_run hook, its is terminated before the promise is resolved or rejected. It is currently blocking our development. I've created this post on stack overflow describing the problem in greater detail:

      https://stackoverflow.com/questions/47288569/cordova-plugin-asynchronous-hooks-not-working

      Let me know if I can provide any additional insight in the problem, or if there are any known workarounds/fixes for this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                feupeu Niklas Kirk Mouritzsen
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified