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

android: Execute exec() callbacks in their own callstacks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-android, cordova-js
    • None

    Description

      There is a long-standing TODO in the code already to address this:

      https://github.com/apache/cordova-js/blob/24ab6855470f2dc0662624b597c98585e56a1666/src/android/exec.js#L258

      Now that Promises are a part of Android for KitKat and above, it makes sense to use them when available to execute callbacks on their own stacks.

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            agrieve Andrew Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: