1)
I am having an issue with my app using FitContributor.
It works much(or most) of the time and produces good fit files as expected with the added fields just fine.
Sometimes it produces a .fit file which has issues with the added fit fields.
The files are seen as corrupt by both https://www.fitfileviewer.com/ and also tools i have developed in C# using the Fit SDK.
When working right, the added fit fields are visible in garmin connect.
When there is a bad run, the activity appears fine in garmin connect, however all the added fit fields do not exist at all.
My fit contributions are made both at the 'lap' and 'session' level and both are messed up when the issue occurs.
When it occurs, if i decode the .fit file, or look at it in binary form, it appears the data for the added fit contributor fields is in place and quite valid.
What i find however is the fit contribution field definitions have become corrupt, so the field name, type etc appear to have reverted to null or default values, and thus the data cannot be decoded correctly.
This is quite intermittent.
I do my tests by running the same app on Edge 820 and VivoActive HR. Others have seen this issue on other models.
The issue can appear on either device, both bad, or both good.
So both are doing the same thing, with only minor delays as i need to push buttons on the devices to start the app, and exit, so this is done with a short delay as i start one at a time.
Both should record virtually the same information but for minor time delays.
I have added code to check the boolean return value from ActivityRecording.stop, .save but it appears these do not report any failure.
2)
I see the recent post talking about using the 'Connect IQ Bug Reports' forum. I have commented here on what sounds like a similar problem to mine.
The way this forum sorts messages makes it a bit hard to see recent activity in that forum.
- You can sort by recent new bug reports, but cannot see recent activity on existing reports easily.
- If i look at my profile, the 'activity' section seems to include my comment in the 'Discussion' forum but not in the bug reports forum.
- to find my activity in this section i seem to need to keep copies of URL or I can manually made bookmarks as i wish, which allows me to find my comments.
- the issue i commented on has only 1 vote, so i am concerned if anyone will even notice this
forums.garmin.com/.../corrupt-user-defined-activity-fields
So as a result i will comment separately here in the 'discussion' forum and see what happens.