Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28364

TiAPI: Return Promises for async Ti.Geolocation APIs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 10.0.0
    • Component/s: TiAPI
    • Labels:
      None
    • Story Points:
      13
    • Sprint:
      2021 Sprint 4, 2021 Sprint 5, 2021 Sprint 6, 2021 Sprint 7, 2021 Sprint 8

      Description

      We have a large number of APIs that take callbacks as arguments. Many can be modified to return a Promise. A few have been modified as part of the initial PR landing native Promise support.

      It's easier to take it module-by-module, so here's the Ti.Geolocation targets:

      • Titanium.Geolocation.forwardGeocoder
      • Titanium.Geolocation.reverseGeocoder
      • Titanium.Geolocation.getCurrentHeading
      • Titanium.Geolocation.getCurrentPosition
      • Titanium.Geolocation.requestLocationPermissions
      • Titanium.Geolocation.requestTemporaryFullAccuracyAuthorization

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration