Disabling GPS and Elevation Recording?

Former Member
Former Member

Hello,

I have not been actively developing my app but I am trying to improve it in response to a number of reviews I have gotten.

App on Store:  https://apps.garmin.com/en-US/apps/b886d2ac-2f94-4f9d-a7bd-85a59b99e639

Source code on GitHub:  github.com/.../ciq-orange-theory

People have been complaining that my app enables GPS on their device, and it does seem to do that.  When viewing the activity summary in the phone app it appears to be recording "Elevation".

I am recording the activity but it should always be indoor type activities.  The default is the activity type "Training" but if one sets the recording type to running I set it as treadmill running in the code.

Does anyone have any idea why my app is using GPS and if there is any way to disable this?

  • There was an issue a while back on the va3 where the FW would turn on GPS for CIQ apps that didn't enable GPS.  Could this be what you are seeing?

    GPS should be off unless that app itself enables it.

  • Former Member
    Former Member over 6 years ago in reply to jim_m_58

    When I complete an activity the summary data shows that it was tracking elevation.  My device is a Vivoactive HR but in many of the reviews on my app people are asking me to disable GPS so I presume they are seeing it on some other devices as well.

    The only thing I can think of is that maybe in some activity types it tries to record GPS data as part of the activity itself and that I don't need to explicitly enable it for the device to attempt to do it.

    These are the permissions I am using in my app:

    <iq:permissions>
        <iq:uses-permission id="Fit"/>
        <iq:uses-permission id="UserProfile"/>
        <iq:uses-permission id="FitContributor"/>
        <iq:uses-permission id="Sensor"/>
    </iq:permissions>

  • Based on sport type, and if the device has a baro, elevation is a separate thing and could be recorded (GPS isn't used for elevation in that case)

    When a user looks at an activity in Garmin Connect, do they see a GPS track?  That would tell you if this is related to GPS, but I suspect it's not..

  • Former Member
    Former Member over 6 years ago in reply to jim_m_58

    To be honest I am not really sure what they see.  I personally do not see a GPS track, but many of the reviews for my app request I disable it so I wanted to investigate.

  • Same reviews. Do you find the solution to explictly disable gps?

  • Did you ever solve this? My app creates an activity:

    session = ActivityRecording.createSession({
       :name=>name,
       :sport=>ActivityRecording.SPORT_TRAINING,          
       :subSport=>ActivityRecording.SUB_SPORT_STRENGTH_TRAINING});
    session.start();

    As far as I know this should not use GPS. Yet reviews claim it does. I have asked for more info but yet to receive any.

    When I check the TCX file, or saved Activity in Garmin Connect I can find no evidence of GPS being saved.