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

iOS: Titanium.Geolocation: getCurrentPosition and getCurrentHeading null callback crash

    Details

      Description

      When Ti.Geolocation getCurrentPosition or getCurrentHeading are called without a callback (i.e., Ti.Geolocation.getCurrentHeading()), app crashes. Logs Attached.

      On Android, there is only a runtime error and no crash.

      Steps to Reproduce:

      1. Run code, testing both functions:

      app.js

      // Ti.Geolocation.getCurrentPosition();
      Ti.Geolocation.getCurrentHeading();
      

      Expected Result:

      Runtime Error.

      Actual Result:

      Crash.

        Attachments

          Activity

            People

            • Assignee:
              stephentramer Stephen Tramer
              Reporter:
              dhyde Dustin Hyde
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-11860
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration