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

iOS: Add Ti.Geolocation constant "ACCURACY_REDUCED" support to iOS 13 and older

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 9.2.0
    • Fix Version/s: None
    • Component/s: iOS

      Description

      Summary:
      As of Titanium 9.2.0, we added Ti.Geolocation constant ACCURACY_REDUCED which is only supported on iOS 14 and higher. Attempting to use it on older iOS versions will cause a crash. This is by design, but it would better to support this constant on older iOS versions to make the permission handling code easier to write.

      Proposal:
      On iOS versions older than 14, Titanium should fallback to using ACCURACY_LOW when Ti.Geolocation.accuracy is assigned the ACCURACY_REDUCED constant. This is the closest equivalent.

      Note:
      We plan on adding all of the iOS only accuracy constants to Android via ticket TIMOB-28117 for parity.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Integration