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

android: Execute exec() callbacks in their own callstacks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android, cordova-js
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: