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

Ti.Geolocation.locationServicesEnabled still returns false in Android.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Titanium SDK: 6.3.0
      Android

    • Story Points:
      1
    • Sprint:
      2017 Sprint 24 SDK

      Description

      Hello All,
      I'm always getting false with the use of Ti.Geolocation.locationServicesEnabled on android.
      Tested this on Android device with os version 6 & 7.
      Turning Location services on or off returns same value.

      Steps i was performing to get location:
      1) checking for location permission using hasLocationPermissions() — This works perfect
      2) Check whether location service is On/Off using Ti.Geolocation.locationServicesEnabled – Returns false always.

      I'm using Titanium SDK: 6.3.0

      Any help would be appreciated.

      Thanks.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                Suraj Datta Suraj Datta
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code