ActivityRecording: How to provide field values that firmware left empty

Former Member
Former Member
Let's assume I have a swimming app that runs as SPORT_SWIMMING, SUB_SPORT_GENERIC, because it is neither lap swimming, nor open water. It records all enabled sensors, except the elapsed distance field is left empty. No problem, I can estimate that. But how would I supply the FIT file with my calculated distance, such that it shows up in the mobile Connect app?
  • Former Member
    Former Member
    By defining a nativeNum option for a FitContibutor field, you can specify in the recorded data that a developer provided field duplicates the data provided by a native FIT field definition. Some platforms will replace the device recorded value for matching fields when nativeNum is used, but the Garmin Connect platform does not do this. The Fit Contribution will be displayed within the activity on Garmin Connect as a developer field in the same way values recorded without the nativeNum option are.
  • Former Member
    Former Member
    Any hope the Garmin Connect platform will eventually also support the nativeNum override? I think it sounds like a very good thing to have.
    This would greatly increase the motivation to develop activity apps for the platform.